mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
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:
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';
|
||||
|
||||
Reference in New Issue
Block a user