mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-26 03:18:56 +01:00
ehe
This commit is contained in:
parent
b5307ddfc8
commit
dbde6dbfb9
1 changed files with 5 additions and 0 deletions
|
@ -764,6 +764,11 @@ function cstsRemaining(totalTimeInSeconds, elapsedTimeInSeconds) {
|
|||
let canPlayPause = true;
|
||||
let didFirstTimePlay = false;
|
||||
document.addEventListener("DOMContentLoaded", () => {
|
||||
setInterval(()=>{
|
||||
if(!document.getElementById("video").paused) {
|
||||
document.getElementById("play-pause").innerHTML = pauseSVG;
|
||||
}
|
||||
}, 100);
|
||||
//FIXME: saved playback intentionally overwritten
|
||||
localStorage.setItem(`progress-${new URLSearchParams(window.location.search).get('v')}`, 0);
|
||||
// Controls and high-res playback
|
||||
|
|
Loading…
Reference in a new issue