mirror of
https://codeberg.org/ashley/poke
synced 2025-04-05 17:17:59 +00:00
bwa
This commit is contained in:
parent
6658fdc5a7
commit
99cc288726
@ -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";
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user