Notice: The Monaca & Onsen UI Community Forum is shutting down.
For Onsen UI bug reports, feature requests and questions, please use the Onsen UI GitHub issues page. For help with Monaca, please contact Monaca Support Team.
Thank you to all our community for your contributions to the forum. We look forward to hearing from you in the new communication channels.
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