From e96b77992ff2a90e62ba25b54eaa1728743143b0 Mon Sep 17 00:00:00 2001 From: ElementalAlchemist Date: Sun, 14 Nov 2021 18:50:49 -0600 Subject: [PATCH] Add one-second jump keyboard shortcuts --- thrimbletrimmer/scripts/keyboard-shortcuts.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/thrimbletrimmer/scripts/keyboard-shortcuts.js b/thrimbletrimmer/scripts/keyboard-shortcuts.js index 10de403..7875db8 100644 --- a/thrimbletrimmer/scripts/keyboard-shortcuts.js +++ b/thrimbletrimmer/scripts/keyboard-shortcuts.js @@ -73,6 +73,12 @@ document.addEventListener("keypress", (event) => { case "l": videoElement.currentTime += 10; break; + case "J": + videoElement.currentTime -= 1; + break; + case "L": + videoElement.currentTime += 1; + break; case ",": videoElement.currentTime -= 1 / VIDEO_FRAMES_PER_SECOND; break;