mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-10 13:37:04 +03:00
Fix mute segment right after skip being delayed
This commit is contained in:
@@ -1555,6 +1555,12 @@ function skipToTime({v, skipTime, skippingSegments, openNotice, forceAutoSkip, u
|
|||||||
// MacOS will loop otherwise #1027
|
// MacOS will loop otherwise #1027
|
||||||
v.currentTime = v.duration - 0.001;
|
v.currentTime = v.duration - 0.001;
|
||||||
} else {
|
} else {
|
||||||
|
if (inMuteSegment(skipTime[1], true)) {
|
||||||
|
// Make sure not to mute if skipping into a mute segment
|
||||||
|
v.muted = true;
|
||||||
|
videoMuted = true;
|
||||||
|
}
|
||||||
|
|
||||||
v.currentTime = skipTime[1];
|
v.currentTime = skipTime[1];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user