Přidání ovládání hlasitosi

closes #1
This commit is contained in:
2021-01-31 02:52:29 +01:00
parent b3836d47a6
commit 426fd2bf96
4 changed files with 80 additions and 3 deletions

View File

@@ -70,6 +70,9 @@ class Controller {
}.bind(this)
);
const volume = document.getElementById("volume");
volume.addEventListener("input", this.view.videoPlayer.updateVolume);
document.addEventListener(
"keyup",
function (e) {