fix: 📈 forgot time loop
This commit is contained in:
parent
082161e177
commit
7e359bdf29
|
@ -106,3 +106,9 @@ audio.onratechange = () => (player.rate = audio.playbackRate)
|
|||
audio.onseeked = () => (player.currentTime = audio.currentTime)
|
||||
audio.ontimeupdate = () => (player.currentTime = audio.currentTime)
|
||||
audio.onvolumechange = () => (player.volume = audio.volume)
|
||||
|
||||
setInterval(() => {
|
||||
if (player.paused === false) {
|
||||
player.time()
|
||||
}
|
||||
}, 40000)
|
||||
|
|
Loading…
Reference in New Issue