rm source from where it shouldn't be
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user