Skip to content

Commit

Permalink
Updated about.html
Browse files Browse the repository at this point in the history
  • Loading branch information
tay committed Sep 17, 2024
1 parent 729043f commit a3efd79
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions about.html
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,12 @@ <h1>Tee</h1>
btn.innerHTML = "▶️";
}
}
volumeControl.addEventListener("input", function() {
video.volume = volumeControl.value;
var percentage = Math.round(volumeControl.value * 100);
volumePercentage.innerHTML = percentage + "%";
});

volumeControl.addEventListener("input", function() {
video.volume = volumeControl.value;
var percentage = Math.round(volumeControl.value * 100);
volumePercentage.innerHTML = percentage + "%";
});
</script>
</body>
</div>
Expand Down

0 comments on commit a3efd79

Please sign in to comment.