3
0
mirror of https://github.com/Qortal/q-tube.git synced 2025-02-11 17:55:51 +00:00

fix playing other vid from playlist

This commit is contained in:
PhilReact 2023-12-12 11:10:16 +02:00
parent 0b78f49386
commit d3d4e002fe

View File

@ -137,6 +137,17 @@ export const VideoPlayer: React.FC<VideoPlayerProps> = ({
}
}
useEffect(()=> {
reDownload.current = false
setIsLoading(false)
setCanPlay(false)
setProgress(0)
setPlaying(false)
setStartPlay(false)
isFetchingProperties.current =false
status.current = null
}, [identifier])
const refetch = React.useCallback(async () => {