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:
parent
0b78f49386
commit
d3d4e002fe
@ -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 () => {
|
const refetch = React.useCallback(async () => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user