Play multiple audio sounds in mobile devices with javascript
<p>I am working on building a game which has different sounds.</p>

<p>I am using the below for playing them</p>

<pre><code>var jackpot_audio_file = document.getElementById('jackpot_sound');
jackpot_audio_file.play();
</code></pre>

<p>It works perfectly on desktop but not on mobile devices. Some play because I have a click then sound plays, but for the rest which do not need user to click anything didn't work.</p>

<p>I tried with simulated click with trigger('click') but it also didn't work.</p>