3 ms·
Enhancer for YouTube can do that, but you can also do it with simple userscript. The userscript I found somewhere few years ago: // ==UserScript== // @name
by Hitton 6y ago
Enhancer for YouTube can do that, but you can also do it with simple userscript. The userscript I found somewhere few years ago:
// ==UserScript==
// @name Mediabord
// @version 01.1
// @description tryd to take over the world!
// @author j
// @match *://*/*
// @grant metadata
// ==/UserScript==
document.addEventListener('keydown', function(event) {
var vidz = document.querySelectorAll('video');
function is_text_box(element){
var tagName = element.tagName.toLowerCase();
return tagName === "textarea" || tagName === "input";}
if(is_text_box(event.target))
return false;
vidz.forEach(vidz => {
switch (event.keyCode) {
case 221: // (])
vidz.playbackRate+=0.25;
break;
case 219: // ([)
vidz.playbackRate-=0.25;
break;
case 220: // (\)
vidz.playbackRate = 1;
break;
case 83:
vidz.currentTime+=3;
break;
case 65:
vidz.currentTime-= 3;
break;
}
});
});
- unkulunkulu 6y agoWait, what? Youtube has builtin control for that for years, behind the cog wheel at the bottom right of the video.
- hummusandsushi 6y agoThey're using the addon to be able to get 3x and 6x speedups, which are not available by default.
- deleted 6y ago[deleted]
- imjasonmiller 6y agoThis is great. The max being only two bothered me and I completely forgot that one could do that as well. I'm going to expand on the small script I wrote that sets the playback rate to twice the speed by default [1]. Thank you! :-) 1. https://webapps.stackexchange.com/a/136744/233601 https://webapps.stackexchange.com/a/136744/233601