3 ms·
I really love this idea, but it seems like on macOS, you can't use the left/right arrows to skip forward/backward. I did some testing and this appears to be a l
by 9935c101ab17a66 5y ago
I really love this idea, but it seems like on macOS, you can't use the left/right arrows to skip forward/backward. I did some testing and this appears to be a limitation of the HTML5 video player implemented in Safari, but it would be amazing if this functionality was added (along with other keyboard shortcuts).
- lelandfe 5y agoSlapped this together. const video = document.getElementById("video"); const skipSecs = 5; video.onkeydown = (e) => { if (e.keyCode !== 37 && e.keyCode !== 39) return; e.preventDefault(); const time = video.currentTime; video.currentTime = e.keyCode === 37 ? time - skipSecs : time + skipSecs; };
- judge2020 5y agoJ for rewinding 10 seconds, K for pausing, and L for fast-forwarding 10 seconds is what i've gotten used to, along with , and . for frame-by-frame scrubbing. https://support.google.com/youtube/answer/7631406?hl=en https://support.google.com/youtube/answer/7631406?hl=en