|
|
@ -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 "=":
|
|
|
|