I am currently working on an HTML5 project.
There is an issue on playing same audio file multiple times in the same page in Andr
If the above solution doesn't work for you, try this one.
audio_element.addEventListener('timeupdate', function() {
if (audio_element.currentTime >= ( audio_element.duration - 0.3 ) ) {
audio_element.currentTime = 0;
audio_element.pause();
}
}, false);
Note:We are setting the seekbar to starting position just before the audio end.