Migrate to vue3 (fix #126) #127
@ -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
Block a user