Restart on pause

This commit is contained in:
Josh Hawkins 2024-06-30 12:05:26 -05:00
parent 2144b5e658
commit feaef30be3

View File

@ -384,6 +384,7 @@ function MSEPlayer({
onPlaying?.();
}}
muted={!audioEnabled}
onPause={() => videoRef.current?.play()}
onProgress={() => {
if ((isSafari || isIOS) && !safariPlaying) {
setSafariPlaying(true);