diff options
author | calledude <[email protected]> | 2024-10-18 16:06:39 +0200 |
---|---|---|
committer | calledude <[email protected]> | 2024-10-18 22:47:45 +0200 |
commit | 0c3aa922ca2e651249fbdadc58a725226216df90 (patch) | |
tree | ab59f77f5d0740d74d119703c0e1089ebbd1fe04 | |
parent | 875ec357d9f352f5b1b32ded0b51e27b5805e32a (diff) | |
download | SponsorBlock-0c3aa922ca2e651249fbdadc58a725226216df90.tar.gz SponsorBlock-0c3aa922ca2e651249fbdadc58a725226216df90.zip |
Fix skip audio notification not working on firefox
-rw-r--r-- | manifest/chrome-manifest-extra.json | 2 | ||||
-rw-r--r-- | manifest/manifest-v2-extra.json | 2 | ||||
-rw-r--r-- | public/icons/beep.oga (renamed from public/icons/beep.ogg) | bin | 4706 -> 4706 bytes | |||
-rw-r--r-- | src/content.ts | 2 |
4 files changed, 3 insertions, 3 deletions
diff --git a/manifest/chrome-manifest-extra.json b/manifest/chrome-manifest-extra.json index 4fa0fed7..fbfe2242 100644 --- a/manifest/chrome-manifest-extra.json +++ b/manifest/chrome-manifest-extra.json @@ -30,7 +30,7 @@ "icons/close.png", "icons/skipIcon.svg", "icons/refresh.svg", - "icons/beep.ogg", + "icons/beep.oga", "icons/pause.svg", "icons/stop.svg", "icons/skip.svg", diff --git a/manifest/manifest-v2-extra.json b/manifest/manifest-v2-extra.json index 1c33efe7..e9dad9f3 100644 --- a/manifest/manifest-v2-extra.json +++ b/manifest/manifest-v2-extra.json @@ -22,7 +22,7 @@ "icons/close.png", "icons/skipIcon.svg", "icons/refresh.svg", - "icons/beep.ogg", + "icons/beep.oga", "icons/pause.svg", "icons/stop.svg", "icons/skip.svg", diff --git a/public/icons/beep.ogg b/public/icons/beep.oga Binary files differindex 37f92fe4..37f92fe4 100644 --- a/public/icons/beep.ogg +++ b/public/icons/beep.oga diff --git a/src/content.ts b/src/content.ts index 3596a70d..fbb73bef 100644 --- a/src/content.ts +++ b/src/content.ts @@ -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(); |