Compare commits

..

1 Commits

Author SHA1 Message Date
3d333665f2 Fix flickering video element 2023-12-06 00:18:06 +01:00

View File

@@ -117,6 +117,9 @@ export function VideoPlayer({ ms }: VideoPlayerProps) {
const videoRef = useRef<HTMLVideoElement>(null)
useEffect(() => {
if (ready) {
return
}
if (videoRef.current) {
if (videoRef.current) {
const ref = videoRef.current