From 232b1816fec44c4b4433fe021f7584beb2e28836 Mon Sep 17 00:00:00 2001 From: Ajay Date: Thu, 11 May 2023 20:17:57 -0400 Subject: [PATCH] Fix mute segment right after skip being delayed --- src/content.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/content.ts b/src/content.ts index 1d8b1b9c..f5bf5b8b 100644 --- a/src/content.ts +++ b/src/content.ts @@ -1555,6 +1555,12 @@ function skipToTime({v, skipTime, skippingSegments, openNotice, forceAutoSkip, u // MacOS will loop otherwise #1027 v.currentTime = v.duration - 0.001; } 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]; }