On Firefox 38, android version 5.0, the <audio> html5 tag is not working
The audio tag does not working/playing on the latest Firefox version from Android 5.0, Samsung (SM-G900F) Js code: var mp3Path = "/music.mp3"; var _audioTagSrc = document.createElement('audio'); _audioTagSrc.src = mp3Path; _audioTagSrc.play();
I set the mp3 file to "src" attribute. I get from audio error event the error message saying that the mp3 is not supported.
The audio tag does not working/playing on the latest Firefox version from Android 5.0, Samsung (SM-G900F)
Js code:
var mp3Path = "/music.mp3";
var _audioTagSrc = document.createElement('audio');
_audioTagSrc.src = mp3Path;
_audioTagSrc.play();
I set the mp3 file to "src" attribute.
I get from audio error event the error message saying that the mp3 is not supported.
모든 댓글 (2)
Is the device running Android 5.0? There is a know issue blocking playback on that version of Android.
Yes, it's android 5.0 version. But on Android native browser and Chrome on the same device the audio is working.