diff --git a/thrimbletrimmer/scripts/keyboard-shortcuts.js b/thrimbletrimmer/scripts/keyboard-shortcuts.js index e991839..6ec8fd0 100644 --- a/thrimbletrimmer/scripts/keyboard-shortcuts.js +++ b/thrimbletrimmer/scripts/keyboard-shortcuts.js @@ -67,6 +67,7 @@ document.addEventListener("keypress", (event) => { videoElement.currentTime -= 10; break; case "k": + case "K": case " ": if (videoElement.paused) { videoElement.play(); @@ -88,9 +89,11 @@ document.addEventListener("keypress", (event) => { videoElement.muted = !videoElement.muted; break; case ",": + case "<": videoElement.currentTime -= 1 / VIDEO_FRAMES_PER_SECOND; break; case ".": + case ">": videoElement.currentTime += 1 / VIDEO_FRAMES_PER_SECOND; break; case "=":