mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-12 22:25:24 +03:00
Restart on pause
This commit is contained in:
parent
2144b5e658
commit
feaef30be3
@ -384,6 +384,7 @@ function MSEPlayer({
|
|||||||
onPlaying?.();
|
onPlaying?.();
|
||||||
}}
|
}}
|
||||||
muted={!audioEnabled}
|
muted={!audioEnabled}
|
||||||
|
onPause={() => videoRef.current?.play()}
|
||||||
onProgress={() => {
|
onProgress={() => {
|
||||||
if ((isSafari || isIOS) && !safariPlaying) {
|
if ((isSafari || isIOS) && !safariPlaying) {
|
||||||
setSafariPlaying(true);
|
setSafariPlaying(true);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user