I have a small HTML5 game with Javascript and JQuery. Every thing is working fine but the audio is not playing when the application starts.
I have used "audio" tag to play the sound.
<audio id="backgroundMusic" autoplay loop>
<source src="sounds/startTheme.mp3" />
<source src="sounds/startTheme.wav" />
</audio>
This issue persists in all the browsers.
Can anybody please help or advice me some work around? Very thanks in advance.
P.S. - I think audio tag is not supported in facebook app.