HTML5 Audio Tag problem
-
I put the HTML5 Audio tag in my project, this works great until comes a sound notification (sms, WhatsApp Msg, Twitter, notification, etc), then the audio in my project app stopped automatically
-
@ledezmarcos It seems to be more of a phonegap issue than Onsen. In my research, I also found most people use the
Media API
instead of the html5 audio tag. If you have to use the audio tag, there was this response:Otherwise, the following tutorials seemed to resolve these issues with the other method:
http://simonmacdonald.blogspot.com/2011/05/using-media-class-in-phonegap.html
http://code.tutsplus.com/tutorials/build-an-audioplayer-with-phonegap-application-setup–mobile-16347