mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-12 22:25:24 +03:00
Call handleLoadedMetadata too if not playing yet
This commit is contained in:
parent
88693c19e5
commit
adffc1d6d0
@ -387,6 +387,7 @@ function MSEPlayer({
|
|||||||
onProgress={() => {
|
onProgress={() => {
|
||||||
if (!isPlaying) {
|
if (!isPlaying) {
|
||||||
setIsPlaying(true);
|
setIsPlaying(true);
|
||||||
|
handleLoadedMetadata?.();
|
||||||
onPlaying?.();
|
onPlaying?.();
|
||||||
}
|
}
|
||||||
if (onError != undefined) {
|
if (onError != undefined) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user