tocar música de fundo em html jasvascript

<audio src="https://www.bensound.com/bensound-music/bensound-moose.mp3"></audio>

<Script>
  window.addEventListener("DOMContentLoaded", event => {
    const audio = document.querySelector("audio");
    audio.volume = 0.2;
    audio.play();
  });
</Script>
Poor Pintail