fix(site): work around #1111 in create-player/player-controller demos (#1403)

Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
Darius Cepulis
2026-04-22 08:57:59 -05:00
committed by GitHub
co-authored by Claude
parent 6149e7fce7
commit 01c4c60848
2 changed files with 4 additions and 3 deletions
@@ -4,12 +4,13 @@ import {
createButton,
createPlayer,
MediaElement,
PlayerController,
selectPlayback,
} from '@videojs/html';
import { videoFeatures } from '@videojs/html/video';
import '@videojs/html/media/container';
const { ProviderMixin, PlayerController, context } = createPlayer({
const { ProviderMixin, context } = createPlayer({
features: videoFeatures,
});
@@ -1,8 +1,8 @@
import { applyElementProps, createButton, createPlayer, MediaElement } from '@videojs/html';
import { applyElementProps, createButton, createPlayer, MediaElement, PlayerController } from '@videojs/html';
import { videoFeatures } from '@videojs/html/video';
import '@videojs/html/media/container';
const { ProviderMixin, PlayerController, context } = createPlayer({
const { ProviderMixin, context } = createPlayer({
features: videoFeatures,
});