mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2024-11-10 01:01:55 +01:00
Don't use unmute skip trick on chromium if there are mutes happening
This commit is contained in:
parent
232b1816fe
commit
93d864e927
1 changed files with 1 additions and 1 deletions
|
@ -700,7 +700,7 @@ async function startSponsorSchedule(includeIntersectingSegments = false, current
|
|||
const intervalDuration = performance.now() - startIntervalTime;
|
||||
if (intervalDuration + skipBuffer * 1000 >= delayTime || getVideo().currentTime >= skipTime[0]) {
|
||||
clearInterval(currentSkipInterval);
|
||||
if (!isFirefoxOrSafari() && !getVideo().muted) {
|
||||
if (!isFirefoxOrSafari() && !getVideo().muted && !inMuteSegment(getVideo().currentTime, true)) {
|
||||
// Workaround for more accurate skipping on Chromium
|
||||
getVideo().muted = true;
|
||||
getVideo().muted = false;
|
||||
|
|
Loading…
Reference in a new issue