It takes a click or touch to play sound on the touch device; you can play multiple audio on the device using the following code
<div id="btn">Play Double sound</div>
<script type="text/javascript">
$(document).ready(function(){
$("#btn").on("click",function(){
alert("audio clicked");
var aud=new Audio();
aud.src="music.mp3";
aud.play();
var aud1=new Audio();
aud1.src="intro.mp3";
aud1.play();
})
});
</script>
The above code plays multiple audio on touch devices
source
share