I'm making a web app that plays a small mp3 file to notify the user for an update. I am using the HTML5 Audio API:
var notifyAudio = new Audio("path/to/audio.mp3");
//some code...
//Callback function called when I want to notify the user
function notify(){
notifyAudio.play()
}
It works perfectly in the Chrome desktop browser, but when I tested it in the Android devices, It won't, not even loading the mp3 file, her is what I get in the Chrome Device debugger