* fix pause issues
parent
ea1c7330ae
commit
1071524793
|
@ -253,10 +253,10 @@ window.addEventListener('DOMContentLoaded', (event) => {
|
|||
}
|
||||
|
||||
function playbackWait() {
|
||||
waiting = setInterval(()=> {
|
||||
const waiting = setInterval(()=> {
|
||||
if (document.querySelector("video").readyState == 4) {
|
||||
clearInterval(waiting);
|
||||
toggleVideo(true);
|
||||
clearInterval(waiting)
|
||||
} else {
|
||||
console.log("waiting...")
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue