Question
Event listener to detect when sound complete for HTML5 document
Hi,
I've tried looking around for info on this, but I haven't had much luck.
Is there an event listener to detect when a sound has completed playing?
To give some context to what I am trying to do.
I'm trying to play a visualizer animation that plays while a sound is playing. But I want the animation to stop when the sound file has completed playing.
Thanks in advance!
