I don't know why but it doesn't work. I have this:
function stop()
{
audio.pause();
audio.currentTime = 0;
}
When I change the value of currentTime to 0, nothing changes...that is, currentTime continues having the previous value.
I solved it:
audio.pause();
audio.src = audio.src;
It reload the audio tag, and set currentTime to 0
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With