fix(site): add missing background-video media element import (#605)

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Wesley Luyten <me@wesleyluyten.com>
This commit is contained in:
Darius Cepulis
2026-02-25 16:19:57 -06:00
committed by GitHub
co-authored by Claude Opus 4.6 Wesley Luyten
parent 4b08005d8e
commit 9e3e494673
@@ -97,7 +97,8 @@ function generateJS(useCase: UseCase, skin: Skin): string {
if (useCase === 'background-video') {
return `import '@videojs/html/background/player';
import '@videojs/html/background/skin';
import '@videojs/html/background/skin.css';`;
import '@videojs/html/background/skin.css';
import '@videojs/html/background/video';`;
}
const { group, skinFile } = getSkinImportParts(skin);
return `import '@videojs/html/${group}/player';