title: How to make autoplay audio work on chrome
body: <p>I'm creating a game and I need to add background music to it. I tried adding an audio tag in HTML and and adding autoplay and loop to it. It loops, but the audio won't play when I load the page.</p>
  
  <p>I've tried using iframe, which I've found in many solutions, but none of them worked.</p>
  
  <pre><code>&lt;audio autoplay loop controls&gt;
  &lt;source src="bgmusic.mp3"&gt;
  &lt;/audio&gt;
  </code></pre>
  
  <p>I'm hoping that when I open the page, the music starts automatically, but instead, it stays paused.</p>