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()
}
}
}, [source, hls])
}, [hls])
const enterFullscreen = useCallback(() => {
if (containerRef.current) {
@@ -156,7 +156,6 @@ export function VideoPlayer({
enterFullscreen={enterFullscreen}
/>
<video
src={source}
ref={ref}
style={a.flex_1}
playsInline