Platform : Android version 4.x
Problem : HTML 5 Tag
Compiled : Phone Saver Framework
I tried to reproduce a simple sound with HTML 5, I can not get it to work.
I read that Android has a common “non-supporting” thing, but as I understand it, version 4.x supports the HTML 5 Audio tag.
Config.xml
I have included some functions in it, for example. Access to files, access to devices and so, I even tried to turn on all functions. Just so you guys know.
HTML
This is what I am working with atm with, I thought maybe I should go back to try to get the sound and then make the costum controls using JQ.
<audio controls="true">
<source src="media/sound.mp3" type="audio/mpeg">
<source src="media/sound.ogg" type="audio/ogg">
<source src="media/sound.wav" type="audio/wav">
Your browser does not support HTML5 audio.
</audio>
Conclusion
Until I hear any sounds, I tried to call it in various ways, for example:
var Newsound = new Audio("sound.ogg");
Newsound.play();
Any idea or suggestion is welcome.
Thanks in advance: -)
source
share