diff options
Diffstat (limited to 'youtube')
-rw-r--r-- | youtube/static/js/hotkeys.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/youtube/static/js/hotkeys.js b/youtube/static/js/hotkeys.js index 8c08c11..b325e39 100644 --- a/youtube/static/js/hotkeys.js +++ b/youtube/static/js/hotkeys.js @@ -29,6 +29,10 @@ function onKeyDown(e) { if (document.fullscreen) document.exitFullscreen(); else v.requestFullscreen(); } + else if (c == "m") { + if (v.muted == false) {v.muted = true;} + else {v.muted = false;} + } else if (c == "c") { e.preventDefault(); let tt = getActiveTranscriptTrack(); |