title: Play audio in Firefox browser
body: <p>I have been struggling over playing an audio file in mozilla firefox browser over the past few days. I wrote a simple code in html</p>
  
  <pre><code>&lt;audio controls="controls" autoplay="true"&gt;  
       &lt;source src= "song.mp3" type="audio/mpeg" &gt; &lt;/source&gt;
   &lt;/audio&gt;
  </code></pre>
  
  <p>The audio works with chrome but somehow it doesn't with mozilla firefox (even with latest version 22). 
  I even tried with a script as had been hinted in other forums</p>
  
  <pre><code>    &lt;script src="/audiojs/audio.min.js"&gt;&lt;/script&gt;
      &lt;script&gt;
             audiojs.events.ready(function () {
             var as = audiojs.createAll();
             });
      &lt;/script&gt;
  </code></pre>
  
  <p>But even this works in chrome but not in firefox. Can anyone explain the reason and also give the html code that can play an audio in firefox browser specifically.</p>