How to keep audio running when the app goes in background


I am using html5 audio tag to play a locally downloaded audio file. As soon as I navigate from the page the audio stops. I am looking for ways to keep the audio running on page navigation as well as when the app goes in background. I was hoping to find some way to achieve this using ngCordova but I have not found anything so far. Can anybody suggest?


You would need have a background service to achieve this but I’m not really sure if you can simply accomplish that with hybrid app.
Would love to know if possible though :smiley:


have a look at