diff options
author | Ajay Ramachandran <[email protected]> | 2024-10-29 16:59:27 -0400 |
---|---|---|
committer | GitHub <[email protected]> | 2024-10-29 16:59:27 -0400 |
commit | b2ac881b9b0ae3d5fbfe45a306a9ca7f5644f9fe (patch) | |
tree | 5386aaf645337d896bc98549c91d78931f9c697d | |
parent | 4a134d7604c2e1e94c5ebfb84f6c6aa4dc48a80f (diff) | |
parent | 0c3aa922ca2e651249fbdadc58a725226216df90 (diff) | |
download | SponsorBlock-b2ac881b9b0ae3d5fbfe45a306a9ca7f5644f9fe.tar.gz SponsorBlock-b2ac881b9b0ae3d5fbfe45a306a9ca7f5644f9fe.zip |
Merge pull request #2135 from calledude/master
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(); |