Is there an oncomplete event for HTML5 audio? I could not find anything on this. I am trying to play a sound after it completes.
oncomplete
Well, specifically I am
The correct way to to this is using the addEventListener function:
addEventListener
audio.addEventListener('ended', PlayNext);