mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2024-11-09 16:52:14 +01:00
Don't play audio notification when previewing
This commit is contained in:
parent
e9a77355bb
commit
3ec1e85712
1 changed files with 1 additions and 1 deletions
|
@ -1721,7 +1721,7 @@ function skipToTime({v, skipTime, skippingSegments, openNotice, forceAutoSkip, u
|
|||
}
|
||||
}
|
||||
|
||||
if (autoSkip && Config.config.audioNotificationOnSkip) {
|
||||
if (autoSkip && Config.config.audioNotificationOnSkip && !isSubmittingSegment) {
|
||||
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