mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2024-11-09 16:52:14 +01:00
parent
3ec1e85712
commit
3738b180dd
1 changed files with 2 additions and 1 deletions
|
@ -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"));
|
||||
beep.volume = getVideo().volume * 0.1;
|
||||
const oldMetadata = navigator.mediaSession.metadata
|
||||
|
|
Loading…
Reference in a new issue