Do not override up/down arrow keys
This commit is contained in:
parent
6186be0a13
commit
7fee8b21bc
|
@ -209,8 +209,6 @@ document.addEventListener("keydown", event => {
|
||||||
relativeSeek(-5)
|
relativeSeek(-5)
|
||||||
} else if (event.key === "ArrowRight") {
|
} else if (event.key === "ArrowRight") {
|
||||||
relativeSeek(5)
|
relativeSeek(5)
|
||||||
} else if (event.key === "ArrowUp" || event.key === "ArrowDown") {
|
|
||||||
// no-op
|
|
||||||
} else if (event.key >= "0" && event.key <= "9") {
|
} else if (event.key >= "0" && event.key <= "9") {
|
||||||
video.currentTime = video.duration * (+event.key) / 10
|
video.currentTime = video.duration * (+event.key) / 10
|
||||||
} else if (event.key === "f") {
|
} else if (event.key === "f") {
|
||||||
|
|
Loading…
Reference in New Issue