Further improve initial playback stability (#414)

This commit is contained in:
Su-Shing Chen 2024-11-20 12:30:12 +11:00 • committed by GitHub
parent 3bd2c3b91e
commit b5126c7246
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -363,6 +363,10 @@ abstract class VideoStoreBase with Store {
VideoPlaying.postMessage("video playing");
videoElement.textTracks[0].mode = "hidden";
});
if (!videoElement.paused) {
VideoPlaying.postMessage("video playing");
videoElement.textTracks[0].mode = "hidden";
}
});
''');
if (settingsStore.showOverlay) {