mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-12 14:37:23 +03:00
@@ -1721,7 +1721,8 @@ function skipToTime({v, skipTime, skippingSegments, openNotice, forceAutoSkip, u
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (autoSkip && Config.config.audioNotificationOnSkip && !isSubmittingSegment) {
|
if (autoSkip && Config.config.audioNotificationOnSkip
|
||||||
|
&& !isSubmittingSegment && !getVideo()?.muted) {
|
||||||
const beep = new Audio(chrome.runtime.getURL("icons/beep.ogg"));
|
const beep = new Audio(chrome.runtime.getURL("icons/beep.ogg"));
|
||||||
beep.volume = getVideo().volume * 0.1;
|
beep.volume = getVideo().volume * 0.1;
|
||||||
const oldMetadata = navigator.mediaSession.metadata
|
const oldMetadata = navigator.mediaSession.metadata
|
||||||
|
|||||||
Reference in New Issue
Block a user