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