diff --git a/.changes/playback-vjs-live-controls.md b/.changes/playback-vjs-live-controls.md new file mode 100644 index 000000000..3a4ef07e0 --- /dev/null +++ b/.changes/playback-vjs-live-controls.md @@ -0,0 +1,9 @@ +--- +type: fix +area: playback +--- + +Video.js now shows its own control bar (play/pause, seek, volume, quality, +fullscreen) on Live TV channels. Previously live streams played with no visible +controls at all, because switching to a live source rebuilt the video element +and the controls never came back. diff --git a/libs/ui/playback/src/lib/vjs-player/vjs-player-setup.spec.ts b/libs/ui/playback/src/lib/vjs-player/vjs-player-setup.spec.ts index 6bdb12587..8abefa924 100644 --- a/libs/ui/playback/src/lib/vjs-player/vjs-player-setup.spec.ts +++ b/libs/ui/playback/src/lib/vjs-player/vjs-player-setup.spec.ts @@ -19,9 +19,29 @@ describe('Video.js player setup', () => { expect(createVjsPlayerOptions(options, false, false)).toEqual({ ...options, autoplay: true, + controls: true, }); }); + it('keeps Video.js controls enabled on the raw MPEG-TS legacy path', () => { + // player.reset() replaces the tech