mirror of
https://codeberg.org/ashley/poke.git
synced 2024-12-24 18:38:40 +01:00
bwa
This commit is contained in:
parent
6658fdc5a7
commit
99cc288726
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue