Skip to content

Commit 0c3aa92

Browse files
committed
Fix skip audio notification not working on firefox
1 parent 875ec35 commit 0c3aa92

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

manifest/chrome-manifest-extra.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"icons/close.png",
3131
"icons/skipIcon.svg",
3232
"icons/refresh.svg",
33-
"icons/beep.ogg",
33+
"icons/beep.oga",
3434
"icons/pause.svg",
3535
"icons/stop.svg",
3636
"icons/skip.svg",

manifest/manifest-v2-extra.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"icons/close.png",
2323
"icons/skipIcon.svg",
2424
"icons/refresh.svg",
25-
"icons/beep.ogg",
25+
"icons/beep.oga",
2626
"icons/pause.svg",
2727
"icons/stop.svg",
2828
"icons/skip.svg",
File renamed without changes.

src/content.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1721,7 +1721,7 @@ function skipToTime({v, skipTime, skippingSegments, openNotice, forceAutoSkip, u
17211721

17221722
if (autoSkip && Config.config.audioNotificationOnSkip
17231723
&& !isSubmittingSegment && !getVideo()?.muted) {
1724-
const beep = new Audio(chrome.runtime.getURL("icons/beep.ogg"));
1724+
const beep = new Audio(chrome.runtime.getURL("icons/beep.oga"));
17251725
beep.volume = getVideo().volume * 0.1;
17261726
const oldMetadata = navigator.mediaSession.metadata
17271727
beep.play();

0 commit comments

Comments
 (0)