Fix early skips on firefox when seeking while playing

This commit is contained in:
Ajay 2022-12-22 02:20:19 -05:00
parent f764869cc8
commit 3f7f671a3b

View file

@ -964,7 +964,6 @@ function updateVirtualTime() {
if (utils.isFirefox()) {
let count = 0;
let lastTime = lastKnownVideoTime.videoTime;
if (lastKnownVideoTime.fromPause) {
currentVirtualTimeInterval = setInterval(() => {
if (lastTime !== video.currentTime) {
count++;
@ -983,7 +982,6 @@ function updateVirtualTime() {
}
}, 1);
}
}
}
function updateWaitingTime(): void {