mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2024-11-10 09:07:45 +01:00
Disable virtual time in firefox again
This commit is contained in:
parent
aec5845bce
commit
fea8a9a37e
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue