I'm trying to use the <audio>
tag, and I want to have as many tracks playing as I add. But in the end, the very first track plays in a circle. How can this be fixed?
<audio id="audio" preload="" autoplay="" loop="">
<source type="audio/mp3" src="music/mus1.mp3">
<source type="audio/mp3" src="music/mus.mp3">
</audio>
<script type="text/javascript">
var audio = document.getElementById("audio");
function pVid() {
audio.paused ? audio.play() : audio.pause();
}
</script>
Link worktime from one form to another
..