title: Can't load audio file in javascript
body: <p>Here is my code for load and play audio file .</p>
  
  <pre><code>&lt;!DOCTYPE HTML&gt;
  &lt;html lang="en-US"&gt;
  &lt;head&gt;
       &lt;meta charset="UTF-8"&gt;
       &lt;title&gt;Test audio&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;script type="text/javascript"&gt;
      window.onload = function() {
          var audio = new Audio("../../data/audio/background.ogg");
          audio.preload = "auto";
  
          audio.addEventListener('ended', function() {
              alert('ended');
          }, false);
          audio.addEventListener('canplaythrough', function() {
              audio.loop = true;
              audio.play();
          }, false);
  
          audio.onerror = function(event) {
              console.log(event.code);
          }
  
          audio.load();
      }
  &lt;/script&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>But I can't run it on Chrome (Firefox or IE 9 are oke) because when load audio file, I always get the error</p>
  
  <p><img src="https://i.stack.imgur.com/zsTSU.png" alt="error"></p>
  
  <p>How can I fix my code ?</p>