Reputation: 15573
I have a Flash animation with sound that I converted to HTML5. When I play it in a WebView or open it with the device browser, there is no sound.
I've tried several sound formats with no success.
I used www.html5test.com to see the browser compatibility and it supposed to support mp3.
Is is possible? Any ideas how?
I am using Android 4.0.4
Upvotes: 1
Views: 1173
Reputation: 41
I found the solution here Embed Background Audio in Android >= 2.3 Browser
<audio id="audio1" controls="controls" loop="loop" autoplay="autoplay" >
<source src="scene1.mp3" type="audio/mpeg" />
<source src="scene1.ogg" type="audio/ogg" />
</audio>
it's work for me :)
Upvotes: 1