mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-12 22:47:18 +03:00
Fix early skips on firefox when seeking while playing
This commit is contained in:
@@ -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++;
|
||||
@@ -984,7 +983,6 @@ function updateVirtualTime() {
|
||||
}, 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function updateWaitingTime(): void {
|
||||
lastTimeFromWaitingEvent = video.currentTime;
|
||||
|
||||
Reference in New Issue
Block a user