mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-26 22:38:14 +01:00
fix issue
This commit is contained in:
parent
9484df8780
commit
c2625bd79d
1 changed files with 8 additions and 1 deletions
|
@ -2424,6 +2424,13 @@ const drawPause = () => {
|
||||||
}
|
}
|
||||||
|
|
||||||
const init = () => {
|
const init = () => {
|
||||||
|
|
||||||
|
//fixes a issue where firefox/chromium fails to load the ambinet mode and doesnt load it. - please dont remove this line lmao
|
||||||
|
|
||||||
|
video.pause();video.play();
|
||||||
|
|
||||||
|
// DO NOT REMOVE
|
||||||
|
|
||||||
AMvideo.addEventListener("play", drawStart, false)
|
AMvideo.addEventListener("play", drawStart, false)
|
||||||
AMvideo.addEventListener("pause", drawPause, false)
|
AMvideo.addEventListener("pause", drawPause, false)
|
||||||
AMvideo.addEventListener("ended", drawPause, false)
|
AMvideo.addEventListener("ended", drawPause, false)
|
||||||
|
|
Loading…
Reference in a new issue