This commit is contained in:
ashley 2024-07-02 22:09:57 +00:00
parent 6658fdc5a7
commit 99cc288726

View file

@ -369,9 +369,11 @@ video.addEventListener("contextmenu", function(event) {
});
speedOption.addEventListener("click", function() {
var currentSpeed = video.playbackRate;
var newSpeed = getNextSpeed(currentSpeed);
video.playbackRate = newSpeed;
document.getElementById("aud").playbackRate = newSpeed;
speedOption.innerHTML = "<i class='fa-light fa-gauge'></i> Speed: " + newSpeed.toFixed(2) + "x";
});