diff --git a/front/packages/ui/src/player/video.web.tsx b/front/packages/ui/src/player/video.web.tsx index 5be9e03e..26c7cfe0 100644 --- a/front/packages/ui/src/player/video.web.tsx +++ b/front/packages/ui/src/player/video.web.tsx @@ -105,14 +105,6 @@ const Video = forwardRef<{ seek: (value: number) => void }, VideoProps>(function useSubtitle(ref, subtitle, fonts); - useLayoutEffect(() => { - (async () => { - await initHls(); - // Still load the hls source to list available qualities. - // Note: This may ask the server to transmux the audio/video by loading the index.m3u8 - hls.loadSource(source.hls); - })(); - }, [source.hls]); useLayoutEffect(() => { (async () => { if (!ref?.current || !source.uri) return;