diff --git a/astro.config.ts b/astro.config.ts
index 053b784973..c37e807206 100644
--- a/astro.config.ts
+++ b/astro.config.ts
@@ -32,7 +32,9 @@ export default defineConfig({
assets: '_astro_docs'
},
integrations: [
- AutoImport({ imports: [asideAutoImport] }),
+ AutoImport({
+ imports: [asideAutoImport, { '~/components/Video.astro': [['default', 'Video']] }],
+ }),
preact({ compat: true }),
sitemap(),
astroAsides(),
diff --git a/src/components/Video.astro b/src/components/Video.astro
index 5e2833c2ef..5bf5ca0b40 100644
--- a/src/components/Video.astro
+++ b/src/components/Video.astro
@@ -1,42 +1,78 @@
---
-import { parse } from 'node:path';
-import { getLanguageFromURL } from '../util';
-import languages from '../i18n/languages';
+/**
+ * Single source of truth for embedded videos in the docs.
+ *
+ * From one authoring point (``) it renders BOTH:
+ * 1. a responsive YouTube `