Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

fix youtube aspect ratios

Jonathan Summers-Muir9a5b9bade4cd
diff --git a/apps/reference/docs/guides/api.mdx b/apps/reference/docs/guides/api.mdx
index 7f7ee4335bf..c5f901c075f 100644
--- a/apps/reference/docs/guides/api.mdx
+++ b/apps/reference/docs/guides/api.mdx
@@ -36,15 +36,14 @@ It provides everything you need from a CRUD API:
- Works with Postgres Functions
- Works with the Postgres security model - including Row Level Security, Roles, and Grants.
-<iframe
- className="video-with-border w-full"
- width="640"
- height="480"
- src="https://www.youtube-nocookie.com/embed/rPAJJFdtPw0"
- frameBorder="1"
- allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
- allowFullScreen
-></iframe>
+<div class="video-container">
+ <iframe
+ src="https://www.youtube-nocookie.com/embed/rPAJJFdtPw0"
+ frameBorder="1"
+ allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
+ allowFullScreen
+ ></iframe>
+</div>
### GraphQL API {#graphql-api-overview}
diff --git a/apps/reference/docs/guides/auth.mdx b/apps/reference/docs/guides/auth.mdx
index e5072554909..48a05b1db40 100644
--- a/apps/reference/docs/guides/auth.mdx
+++ b/apps/reference/docs/guides/auth.mdx
@@ -10,15 +10,14 @@ import Tabs from '@theme/Tabs'
import TabItem from '@theme/TabItem'
import providers from '@site/src/data/authProviders'
-<iframe
- className="video-with-border w-full"
- width="640"
- height="480"
- src="https://www.youtube-nocookie.com/embed/6ow_jW4epf8"
- frameBorder="1"
- allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
- allowFullScreen
-></iframe>
+<div class="video-container">
+ <iframe
+ src="https://www.youtube-nocookie.com/embed/6ow_jW4epf8"
+ frameBorder="1"
+ allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
+ allowFullScreen
+ ></iframe>
+</div>
## Overview
diff --git a/apps/reference/docs/guides/auth/auth-twilio.mdx b/apps/reference/docs/guides/auth/auth-twilio.mdx
index f086a3ab027..685f6554746 100644
--- a/apps/reference/docs/guides/auth/auth-twilio.mdx
+++ b/apps/reference/docs/guides/auth/auth-twilio.mdx
@@ -30,15 +30,14 @@ What you'll need:
## Video
-<iframe
- className="video-with-border w-full"
- width="640"
- height="385"
- src="https://www.youtube-nocookie.com/embed/akScoPO01bc"
- frameBorder="1"
- allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
- allowFullScreen
-></iframe>
+<div class="video-container">
+ <iframe
+ src="https://www.youtube-nocookie.com/embed/akScoPO01bc"
+ frameBorder="1"
+ allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
+ allowFullScreen
+ ></iframe>
+</div>
## Steps
diff --git a/apps/reference/docs/guides/auth/intro.mdx b/apps/reference/docs/guides/auth/intro.mdx
index b8eb573829f..e9d0b7ae806 100644
--- a/apps/reference/docs/guides/auth/intro.mdx
+++ b/apps/reference/docs/guides/auth/intro.mdx
@@ -12,15 +12,14 @@ import Tabs from '@theme/Tabs'
import TabItem from '@theme/TabItem'
import providers from '@site/src/data/authProviders'
-<iframe
- className="video-with-border w-full"
- width="640"
- height="385"
- src="https://www.youtube-nocookie.com/embed/6ow_jW4epf8"
- frameBorder="1"
- allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
- allowFullScreen
-></iframe>
+<div class="video-container">
+ <iframe
+ src="https://www.youtube-nocookie.com/embed/6ow_jW4epf8"
+ frameBorder="1"
+ allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
+ allowFullScreen
+ ></iframe>
+</div>
## Introduction
diff --git a/apps/reference/docs/guides/auth/row-level-security.mdx b/apps/reference/docs/guides/auth/row-level-security.mdx
index 4628992b032..21c04b69e71 100644
--- a/apps/reference/docs/guides/auth/row-level-security.mdx
+++ b/apps/reference/docs/guides/auth/row-level-security.mdx
@@ -8,15 +8,14 @@ When you need granular authorization rules, nothing beats PostgreSQL's [Row Leve
[Policies](https://www.postgresql.org/docs/current/sql-createpolicy.html) are PostgreSQL's rule engine. They are incredibly powerful and flexible, allowing you to write complex SQL rules which fit your unique business needs.
-<iframe
- className="video-with-border w-full"
- width="640"
- height="385"
- src="https://www.youtube-nocookie.com/embed/Ow_Uzedfohk"
- frameBorder="1"
- allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
- allowFullScreen
-></iframe>
+<div class="video-container">
+ <iframe
+ src="https://www.youtube-nocookie.com/embed/Ow_Uzedfohk"
+ frameBorder="1"
+ allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
+ allowFullScreen
+ ></iframe>
+</div>
## Policies
diff --git a/apps/reference/docs/guides/database/extensions/http.mdx b/apps/reference/docs/guides/database/extensions/http.mdx
index 6f003cf0714..c2ff431efc2 100644
--- a/apps/reference/docs/guides/database/extensions/http.mdx
+++ b/apps/reference/docs/guides/database/extensions/http.mdx
@@ -11,15 +11,14 @@ The `http` extension allows you to call RESTful endpoints within Postgres.
## Quick demo
-<iframe
- className="video-with-border w-full"
- width="640"
- height="385"
- src="https://www.youtube-nocookie.com/embed/rARgrELRCwY"
- frameBorder="1"
- allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
- allowFullScreen
-></iframe>
+<div class="video-container">
+ <iframe
+ src="https://www.youtube-nocookie.com/embed/rARgrELRCwY"
+ frameBorder="1"
+ allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
+ allowFullScreen
+ ></iframe>
+</div>
## Overview
diff --git a/apps/reference/docs/guides/database/functions.mdx b/apps/reference/docs/guides/database/functions.mdx
index 1573aca9f73..d5ddf8017c6 100644
--- a/apps/reference/docs/guides/database/functions.mdx
+++ b/apps/reference/docs/guides/database/functions.mdx
@@ -12,15 +12,14 @@ These functions live inside your database, and they can be [used with the API](.
## Quick demo
-<iframe
- className="video-with-border w-full"
- width="640"
- height="385"
- src="https://www.youtube-nocookie.com/embed/MJZCCpCYEqk"
- frameBorder="1"
- allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
- allowFullScreen
-></iframe>
+<div class="video-container">
+ <iframe
+ src="https://www.youtube-nocookie.com/embed/MJZCCpCYEqk"
+ frameBorder="1"
+ allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
+ allowFullScreen
+ ></iframe>
+</div>
## Getting started
@@ -314,36 +313,33 @@ This limits the potential damage if you allow access to schemas which the user e
### Create Database Functions
-<iframe
- className="video-with-border w-full"
- width="640"
- height="385"
- src="https://www.youtube-nocookie.com/embed/MJZCCpCYEqk"
- frameBorder="1"
- allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
- allowFullScreen
-></iframe>
+<div class="video-container">
+ <iframe
+ src="https://www.youtube-nocookie.com/embed/MJZCCpCYEqk"
+ frameBorder="1"
+ allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
+ allowFullScreen
+ ></iframe>
+</div>
### Call Database Functions using JavaScript
-<iframe
- className="video-with-border w-full"
- width="640"
- height="385"
- src="https://www.youtube-nocookie.com/embed/I6nnp9AINJk"
- frameBorder="1"
- allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
- allowFullScreen
-></iframe>
+<div class="video-container">
+ <iframe
+ src="https://www.youtube-nocookie.com/embed/I6nnp9AINJk"
+ frameBorder="1"
+ allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
+ allowFullScreen
+ ></iframe>
+</div>
### Using Database Functions to call an external API
-<iframe
- className="video-with-border w-full"
- width="640"
- height="385"
- src="https://www.youtube-nocookie.com/embed/rARgrELRCwY"
- frameBorder="1"
- allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
- allowFullScreen
-></iframe>
+<div class="video-container">
+ <iframe
+ src="https://www.youtube-nocookie.com/embed/rARgrELRCwY"
+ frameBorder="1"
+ allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
+ allowFullScreen
+ ></iframe>
+</div>
diff --git a/apps/reference/docs/guides/database/tables.mdx b/apps/reference/docs/guides/database/tables.mdx
index b597fa6c648..1f0e0857329 100644
--- a/apps/reference/docs/guides/database/tables.mdx
+++ b/apps/reference/docs/guides/database/tables.mdx
@@ -287,15 +287,14 @@ For example if you had the following situations:
<TabItem value="dashboard">
-<iframe
- className="video-with-border w-full"
- width="640"
- height="420"
- src="https://www.youtube-nocookie.com/embed/TKwF3IGij5c"
- frameBorder="1"
- allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
- allowFullScreen
-></iframe>
+<div class="video-container">
+ <iframe
+ src="https://www.youtube-nocookie.com/embed/TKwF3IGij5c"
+ frameBorder="1"
+ allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
+ allowFullScreen
+ ></iframe>
+</div>
</TabItem>
diff --git a/apps/reference/docs/guides/examples.mdx b/apps/reference/docs/guides/examples.mdx
index 95bda6146b6..efb02e32459 100644
--- a/apps/reference/docs/guides/examples.mdx
+++ b/apps/reference/docs/guides/examples.mdx
@@ -12,43 +12,40 @@ We have a [set of examples](https://github.com/supabase/supabase/tree/master/exa
By [Traversy Media](https://www.youtube.com/watch?v=7uKQBl9uZ00).
-<iframe
- className="video-with-border w-full"
- width="640"
- height="480"
- src="https://www.youtube-nocookie.com/embed/7uKQBl9uZ00"
- frameBorder="1"
- allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
- allowFullScreen
-></iframe>
+<div class="video-container">
+ <iframe
+ src="https://www.youtube-nocookie.com/embed/7uKQBl9uZ00"
+ frameBorder="1"
+ allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
+ allowFullScreen
+ ></iframe>
+</div>
### Build an App With Supabase and NextJS
By [@jlengstorf](https://twitter.com/jlengstorf) and [@jonmeyers_io](https://twitter.com/jonmeyers_io).
-<iframe
- className="video-with-border w-full"
- width="640"
- height="480"
- src="https://www.youtube-nocookie.com/embed/8vqY1KT4TLU"
- frameBorder="1"
- allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
- allowFullScreen
-></iframe>
+<div class="video-container">
+ <iframe
+ src="https://www.youtube-nocookie.com/embed/8vqY1KT4TLU"
+ frameBorder="1"
+ allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
+ allowFullScreen
+ ></iframe>
+</div>
### Is Supabase Legit
By [Fireship](https://www.youtube.com/watch?v=WiwfiVdfRIc).
-<iframe
- className="video-with-border w-full"
- width="640"
- height="480"
- src="https://www.youtube-nocookie.com/embed/WiwfiVdfRIc"
- frameBorder="1"
- allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
- allowFullScreen
-></iframe>
+<div class="video-container">
+ <iframe
+ src="https://www.youtube-nocookie.com/embed/WiwfiVdfRIc"
+ frameBorder="1"
+ allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
+ allowFullScreen
+ ></iframe>
+</div>
## Official Examples
diff --git a/apps/reference/docs/guides/functions.mdx b/apps/reference/docs/guides/functions.mdx
index 5d021eaf1a9..ed20a99b84b 100644
--- a/apps/reference/docs/guides/functions.mdx
+++ b/apps/reference/docs/guides/functions.mdx
@@ -42,15 +42,14 @@ Edge Functions are developed using [Deno](https://deno.com), which offers a few
Learn how to develop Edge Functions in less than 7 minutes:
-<iframe
- className="video-with-border w-full"
- width="640"
- height="385"
- src="https://www.youtube-nocookie.com/embed/rzglqRdZUQE"
- frameBorder="1"
- allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
- allowFullScreen
-></iframe>
+<div class="video-container">
+ <iframe
+ src="https://www.youtube-nocookie.com/embed/rzglqRdZUQE"
+ frameBorder="1"
+ allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
+ allowFullScreen
+ ></iframe>
+</div>
## Prerequisites
diff --git a/apps/reference/docs/guides/integrations/fezto.mdx b/apps/reference/docs/guides/integrations/fezto.mdx
index c889acc2dec..c46cc6a4d66 100644
--- a/apps/reference/docs/guides/integrations/fezto.mdx
+++ b/apps/reference/docs/guides/integrations/fezto.mdx
@@ -6,15 +6,14 @@ description: 'Create an app automatically from your Supabase Postgres using Open
[Frontend Zero to One is](https://www.fezto.xyz) is a service which creates an app for your Supabase Postgres database on-the-fly without any drag and drop, using the OpenAPI spec provided by PostgREST.
-<iframe
- className="w-full"
- width="700"
- height="350"
- src="https://www.youtube-nocookie.com/embed/GOC6a0_AlgI"
- frameBorder="0"
- allow="accelerometer; encrypted-media; gyroscope; picture-in-picture"
- allowfullscreen
-></iframe>
+<div class="video-container">
+ <iframe
+ src="https://www.youtube-nocookie.com/embed/GOC6a0_AlgI"
+ frameBorder="0"
+ allow="accelerometer; encrypted-media; gyroscope; picture-in-picture"
+ allowfullscreen
+ ></iframe>
+</div>
# Setup
diff --git a/apps/reference/docs/guides/integrations/snaplet.mdx b/apps/reference/docs/guides/integrations/snaplet.mdx
index 9770c01aed2..1153d206543 100644
--- a/apps/reference/docs/guides/integrations/snaplet.mdx
+++ b/apps/reference/docs/guides/integrations/snaplet.mdx
@@ -12,14 +12,16 @@ Let's get started!
Follow along in the video below as the founder of Snaplet, Peter Pistorius, takes you through the entire process. Otherwise, you can skip the video and dive into the step-by-step guide.
-<iframe
- src="https://www.youtube.com/embed/oPtMMhdhEP4?rel=0"
- frameborder="0"
- allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture; modestbranding; showinfo=0"
- allowfullscreen
- width="100%"
- height="400px"
-></iframe>
+<div class="video-container">
+ <iframe
+ src="https://www.youtube.com/embed/oPtMMhdhEP4?rel=0"
+ frameborder="0"
+ allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture; modestbranding; showinfo=0"
+ allowfullscreen
+ width="100%"
+ height="400px"
+ ></iframe>
+</div>
## Step 1: Prerequisites
diff --git a/apps/reference/docs/learn/auth-deep-dive/google-oauth.md b/apps/reference/docs/learn/auth-deep-dive/google-oauth.md
index 1c9ebe775cc..129ce770fd2 100644
--- a/apps/reference/docs/learn/auth-deep-dive/google-oauth.md
+++ b/apps/reference/docs/learn/auth-deep-dive/google-oauth.md
@@ -10,7 +10,9 @@ How to add Google OAuth Logins to your Supabase Application.
### Watch
-<iframe className="w-full video-with-border" width="640" height="385" src="https://www.youtube-nocookie.com/embed/_XM9ziOzWk4" frameBorder="1" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowFullScreen></iframe>
+<div class="video-container">
+<iframe src="https://www.youtube-nocookie.com/embed/_XM9ziOzWk4" frameBorder="1" allow="accelerometer;autoplay; clipboard-write encrypted-media; gyroscope; picture-in-picture" allowFullScreen></iframe>
+</div>
### Logging in with external OAuth providers
diff --git a/apps/reference/docs/learn/auth-deep-dive/gotrue.md b/apps/reference/docs/learn/auth-deep-dive/gotrue.md
index b29ce3bfe32..3b780f254fd 100644
--- a/apps/reference/docs/learn/auth-deep-dive/gotrue.md
+++ b/apps/reference/docs/learn/auth-deep-dive/gotrue.md
@@ -10,7 +10,9 @@ How to restrict table access to authenticated users, row level policies, and ema
### Watch
-<iframe className="w-full video-with-border" width="640" height="385" src="https://www.youtube.com/embed/neqfYym_84k" frameBorder="1" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowFullScreen></iframe>
+<div class="video-container">
+<iframe src="https://www.youtube.com/embed/neqfYym_84k" frameBorder="1" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowFullScreen></iframe>
+</div>
### Gotrue Server
diff --git a/apps/reference/docs/learn/auth-deep-dive/jwts.md b/apps/reference/docs/learn/auth-deep-dive/jwts.md
index 62ffc0fa5ea..d2b084e3a6e 100644
--- a/apps/reference/docs/learn/auth-deep-dive/jwts.md
+++ b/apps/reference/docs/learn/auth-deep-dive/jwts.md
@@ -10,7 +10,9 @@ An introduction to JWTs and how they are used in Supabase Auth
### Watch
-<iframe className="w-full video-with-border" width="640" height="385" src="https://www.youtube-nocookie.com/embed/v3Exg5YpJvE" frameBorder="1" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowFullScreen></iframe>
+<div class="video-container">
+<iframe src="https://www.youtube-nocookie.com/embed/v3Exg5YpJvE" frameBorder="1" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowFullScreen></iframe>
+</div>
### What are JSON Web Tokens (JWTs)?
diff --git a/apps/reference/docs/learn/auth-deep-dive/policies.md b/apps/reference/docs/learn/auth-deep-dive/policies.md
index 45af47b03f7..e9b10a1cb57 100644
--- a/apps/reference/docs/learn/auth-deep-dive/policies.md
+++ b/apps/reference/docs/learn/auth-deep-dive/policies.md
@@ -10,7 +10,9 @@ How to restrict table access to authenticated users, row level policies, and ema
### Watch
-<iframe className="w-full video-with-border" width="640" height="385" src="https://www.youtube-nocookie.com/embed/0LvCOlELs5U" frameBorder="1" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowFullScreen></iframe>
+<div class="video-container">
+<iframe src="https://www.youtube-nocookie.com/embed/0LvCOlELs5U" frameBorder="1" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowFullScreen></iframe>
+</div>
### User based row level policies
diff --git a/apps/reference/docs/learn/auth-deep-dive/row-level-security.md b/apps/reference/docs/learn/auth-deep-dive/row-level-security.md
index 2958a5168fd..23acd52b98c 100644
--- a/apps/reference/docs/learn/auth-deep-dive/row-level-security.md
+++ b/apps/reference/docs/learn/auth-deep-dive/row-level-security.md
@@ -10,7 +10,9 @@ Learn how to restrict access to your database tables by enabling Row Level Secur
### Watch
-<iframe className="w-full video-with-border" width="640" height="385" src="https://www.youtube-nocookie.com/embed/qY_iQ10IUhs" frameBorder="1" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowFullScreen></iframe>
+<div class="video-container">
+<iframe src="https://www.youtube-nocookie.com/embed/qY_iQ10IUhs" frameBorder="1" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowFullScreen></iframe>
+</div>
### Securing Your Tables