diff --git a/src/ui/component/viewers/videoViewer/view.jsx b/src/ui/component/viewers/videoViewer/view.jsx index f4a4b07d9..60d16bf75 100644 --- a/src/ui/component/viewers/videoViewer/view.jsx +++ b/src/ui/component/viewers/videoViewer/view.jsx @@ -46,7 +46,7 @@ function VideoViewer(props: Props) { const { contentType, source, setPlayingUri, onEndedCB, changeVolume, changeMute, volume, muted } = props; const videoRef = useRef(); const [requireRedraw, setRequireRedraw] = useState(false); - let player = null; + let player; useEffect(() => { const currentVideo: HTMLVideoElement | null = document.querySelector('video');