Merge pull request #2135 from calledude/master

Fix skip audio notification not working on firefox
This commit is contained in:
Ajay Ramachandran
2024-10-29 16:59:27 -04:00
committed by GitHub
4 changed files with 3 additions and 3 deletions

View File

@@ -1721,7 +1721,7 @@ function skipToTime({v, skipTime, skippingSegments, openNotice, forceAutoSkip, u
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.oga"));
beep.volume = getVideo().volume * 0.1;
const oldMetadata = navigator.mediaSession.metadata
beep.play();