From fea8a9a37edc67fb770e3533adcbf50155025db3 Mon Sep 17 00:00:00 2001 From: Ajay Date: Thu, 27 Oct 2022 21:39:06 -0400 Subject: [PATCH] Disable virtual time in firefox again --- src/content.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content.ts b/src/content.ts index e9324ece..d9eb9a8c 100644 --- a/src/content.ts +++ b/src/content.ts @@ -717,7 +717,7 @@ function getVirtualTime(): number { const virtualTime = lastTimeFromWaitingEvent ?? (lastKnownVideoTime.videoTime ? (performance.now() - lastKnownVideoTime.preciseTime) * video.playbackRate / 1000 + lastKnownVideoTime.videoTime : null); - if (Config.config.useVirtualTime && !isSafari() && virtualTime + if (Config.config.useVirtualTime && !utils.isFirefox() && !isSafari() && virtualTime && Math.abs(virtualTime - video.currentTime) < 0.6 && video.currentTime !== 0) { return virtualTime; } else {