|
|
@ -73,12 +73,6 @@ document.addEventListener("keypress", (event) => {
|
|
|
|
case "l":
|
|
|
|
case "l":
|
|
|
|
videoElement.currentTime += 10;
|
|
|
|
videoElement.currentTime += 10;
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
case "ArrowLeft":
|
|
|
|
|
|
|
|
videoElement.currentTime -= 5;
|
|
|
|
|
|
|
|
break;
|
|
|
|
|
|
|
|
case "ArrowRight":
|
|
|
|
|
|
|
|
videoElement.currentTime += 5;
|
|
|
|
|
|
|
|
break;
|
|
|
|
|
|
|
|
case ",":
|
|
|
|
case ",":
|
|
|
|
videoElement.currentTime -= 1 / VIDEO_FRAMES_PER_SECOND;
|
|
|
|
videoElement.currentTime -= 1 / VIDEO_FRAMES_PER_SECOND;
|
|
|
|
break;
|
|
|
|
break;
|
|
|
@ -130,6 +124,11 @@ document.addEventListener("keydown", (event) => {
|
|
|
|
case "ArrowRight":
|
|
|
|
case "ArrowRight":
|
|
|
|
videoElement.currentTime += 5;
|
|
|
|
videoElement.currentTime += 5;
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
|
|
|
|
case "Backspace":
|
|
|
|
|
|
|
|
event.preventDefault();
|
|
|
|
|
|
|
|
videoElement.playbackRate = 1;
|
|
|
|
|
|
|
|
document.getElementById("video-controls-playback-speed").value = 1;
|
|
|
|
|
|
|
|
break;
|
|
|
|
default:
|
|
|
|
default:
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|