Hi,
I would like to solve a little but annoying detail on my site.
I am using the html5 <audio tag> to make a simple audio player that has several files and would love to be able to implement this little detail: I want it to stop the audio when any other file is selected to be played.
Right now if you hit play, and a preceding file is on play...well ... both sound at the same time. So I simply want to implement some kind of rule to play ONLY the last selected one. Is this possible?
Please have in mind that I am not a skillful programmer or any thing. I know just a enough to copy code here and there.
Thanks in advance to any one who could help me out.
Best regards.