mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-10 21:25:24 +03:00
Fix loading on switch
This commit is contained in:
parent
98113c6b72
commit
0614f9767c
@ -105,9 +105,13 @@ export default function DynamicVideoPlayer({
|
||||
return;
|
||||
}
|
||||
|
||||
if (isLoading) {
|
||||
setIsLoading(false);
|
||||
}
|
||||
|
||||
onTimestampUpdate(controller.getProgress(time));
|
||||
},
|
||||
[controller, onTimestampUpdate, isScrubbing],
|
||||
[controller, onTimestampUpdate, isScrubbing, isLoading],
|
||||
);
|
||||
|
||||
// state of playback player
|
||||
|
||||
Loading…
Reference in New Issue
Block a user