Add shift versions of currently unshifted shortcuts

pull/330/head
ElementalAlchemist 2 years ago committed by Mike Lang
parent 29e6b9ead3
commit e0d035f8b9

@ -67,6 +67,7 @@ document.addEventListener("keypress", (event) => {
videoElement.currentTime -= 10; videoElement.currentTime -= 10;
break; break;
case "k": case "k":
case "K":
case " ": case " ":
if (videoElement.paused) { if (videoElement.paused) {
videoElement.play(); videoElement.play();
@ -88,9 +89,11 @@ document.addEventListener("keypress", (event) => {
videoElement.muted = !videoElement.muted; videoElement.muted = !videoElement.muted;
break; break;
case ",": case ",":
case "<":
videoElement.currentTime -= 1 / VIDEO_FRAMES_PER_SECOND; videoElement.currentTime -= 1 / VIDEO_FRAMES_PER_SECOND;
break; break;
case ".": case ".":
case ">":
videoElement.currentTime += 1 / VIDEO_FRAMES_PER_SECOND; videoElement.currentTime += 1 / VIDEO_FRAMES_PER_SECOND;
break; break;
case "=": case "=":

Loading…
Cancel
Save