HTML5 audio/javascript stops working on android(google chrome) when screen is turned off
<p>I have created a Web App which plays music playlist and it works well on desktop browsers and also in mozilla and opera of android. But When I play the songs on Chrome browser of Android and I turn off the screen, it stops after playing the current song. And as soon as I turn the screen on, it starts loading the next song in line. </p>

<p>From my observations, what I have understood is Google Chrome browser on android pauses the javascript code from executing if the screen is turned off till the screen is not waken up again. Is there any way I can prevent my specific library from pausing? Any approach or events?</p>

<p>Some related this question is what I am looking for: <a href="https://stackoverflow.com/questions/22061280/javascript-halts-in-inactive-android-chrome-tab">JavaScript halts in inactive android Chrome tab</a></p>

<p>There are so many WebApps which does not stop playing music. Does it need some permissions from Google App Store?</p>