title: Keep audio playing with mobile screen off
body: <p>I'm building a website with HTML5 audio, including custom audio controls and visualization using JavaScript.</p>
  <p>When opening the website in my mobile browser (I've only tested Android/Chrome, but I assume similar behavior on other systems), after a few seconds the screen will turn off and soon after the audio will stop playing.</p>
  <p>Is there an official way in HTML oder JavaScript to tell the browser to keep the audio playing with screen turned off?</p>
  <p>Side information: there is <a href="https://developer.mozilla.org/en-US/docs/Web/API/Screen_Wake_Lock_API" rel="nofollow noreferrer">Screen Wake Lock API</a> preventing the mobile screen from turning off. Since my website provides music, I want the phone to turn off the screen if desired, only keep playing the audio.</p>