An application is playing an audio clip with the HTMLAudioElement in JavaScript like below,
mySound = new Audio([URLString]);
The URL string will keep on changing based on user clicks.
Any ways to find when HTMLAudioElement audio completed? I tried the "ended" property but the function is not being called after audio finished playing.