title: HTML 5 - Play tiny mp3 "inline"
body: <p>I want to play a mp3 using HTML 5 audio support.
  I was trying to use an audio tag but now I am doing it using javascript.</p>
  
  <p>My "Player" will be just a tiny Play image, that when is pressed plays the audio (not all the audio control with progress).</p>
  
  <p>I am trying to play it using javascript .</p>
  
  <pre><code>function playmp3(url){
     var audioElement = document.createElement('audio');
     audioElement.setAttribute('src', url);
     audioElement.load();
     audioElement.play();
  }
  </code></pre>
  
  <p>This is my code and it does not work. It executes ok when I click an image that is my Play button.</p>
  
  <p>Url is a string that contains the url of a file.</p>
  
  <p>I am testing in the newest versions of Chrome and FF.</p>