I want to be able to play multiple audio files at once on my page. I have a javascript function to do so, it it will only play the last audio player, not all of them.
function play()
{
isPlaying = true ;
$w( “#audioPlayer1” ).play();
$w( “#audioPlayer2” ).play();
$w( “#audioPlayer3” ).play();
$w( “#audioPlayer4” ).play();
$w( “#audioPlayer5” ).play();
$w( “#audioPlayer6” ).play();
$w( “#audioPlayer7” ).play();
}
How can I make all the audio players play simultaneously, instead of only audioPlayer7?