howler.js icon indicating copy to clipboard operation
howler.js copied to clipboard

How to know when an audio is completed?

Open Illakkiya03 opened this issue 3 years ago • 3 comments

I tried using onEnd() and onStop() methods, but there was no alert during the end of the audio, instead I got an alert at the beginning of the audio. Thanks in advance!

Illakkiya03 avatar Jul 26 '21 06:07 Illakkiya03

onLoad

shijiezhou1 avatar Jul 26 '21 10:07 shijiezhou1

@Illakkiya03 do you use sprites?

ahrbil avatar Sep 07 '21 13:09 ahrbil

@Illakkiya03 did you have any luck with this? I'm running into the same issue with a Vue project. All the events are firing at the start of the song.

deathnfudge avatar Sep 29 '21 21:09 deathnfudge