mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-13 06:57:09 +03:00
add bindMediaKey to options
This commit is contained in:
@@ -1273,7 +1273,8 @@ function skipToTime({v, skipTime, skippingSegments, openNotice, forceAutoSkip, u
|
||||
const beep = new Audio(chrome.runtime.getURL("icons/beep.ogg"));
|
||||
beep.volume = video.volume * 0.1;
|
||||
beep.play();
|
||||
window.addEventListener("keydown", mediaPauseListener);
|
||||
if (Config.config.audioNotificationOnSkip && Config.config.bindMediaKey)
|
||||
window.addEventListener("keydown", mediaPauseListener);
|
||||
}
|
||||
|
||||
if (!autoSkip
|
||||
|
||||
Reference in New Issue
Block a user