Does the sound tag work on my own Android application?
Iβve been looking for some time, but I canβt find a message that tells me whether it is supported or not, or what I need to do to make it work.
<audio id="Multimedia1" controls="controls" width="100%" height="30px"> <source src="file:///android_asset/www/Resources/audio.mp3"> Your browser does not support audio. </audio>
It does not download audio. I tried different ways, for example:
Resources/audio.mp3 www/Resources/audio.mp3 file:///android_asset/www/Resources/audio.mp3
If I view index.html with a browser (no native application), the sound is played with a relative path.
But I just can't get it to work with apache cordova app.
Any ideas? Thanks in advance!
source share