[Solved] Toogle icon (play/pause), and stop when another button is clicked
Well, after a lot of research i could get something that for now it’s ok for me. I just want to share if anybody else gets my same problem This are my scripts (i needed to use 2) <script language=”javascript”> var currentsound; function play_pause(player) { var myAudio = document.getElementById(player); if(myAudio.paused) { myAudio.play(); } else{ myAudio.pause(); … Read more