rm source from where it shouldn't be

This commit is contained in:
Samuel Newman
2024-07-31 13:44:49 +02:00
parent c39e30e3d4
commit 1878d312ba
@@ -114,7 +114,7 @@ export function VideoPlayer({
hls.detachMedia() hls.detachMedia()
} }
} }
}, [source, hls]) }, [hls])
const enterFullscreen = useCallback(() => { const enterFullscreen = useCallback(() => {
if (containerRef.current) { if (containerRef.current) {
@@ -156,7 +156,6 @@ export function VideoPlayer({
enterFullscreen={enterFullscreen} enterFullscreen={enterFullscreen}
/> />
<video <video
src={source}
ref={ref} ref={ref}
style={a.flex_1} style={a.flex_1}
playsInline playsInline