I want audio playing way as The way on "www.soundcloud.com"
I am using this player
<audio controls>
<source src="horse.mp3" type="audio/mpeg">
</audio>
I have page for album it's Include Multiple player, I pause all player's in album page by this code
JavaScript
Pu = function ()
{
var lis = document.getElementsByTagName('audio');
for (var i = 0; i < lis.length; i++)
{
var item = lis[i];
item.pause();
}
}
Answers
Know the answer? Post it. Somebody with the same question will find it here.