How to create audio player elements?
<p>I am trying to create a audio player in my codes and want to append source to the audio player.
I am not using html5 so it's a bit different.</p>

<p>I have </p>

<pre><code>var audioPlayer=document.createElement('audio');
      audioPlayer.id='audioPlayer';
      audioPlayer.className='audioPlayer'


 var audioSource=document.createElement('source');
 audioSource.src='song.mp3'

 $(this).closest('div').append(audioPlayer);
 audioPlayer.innerHTML=audioSource; //won't do it......
</code></pre>

<p>I want the html like this</p>

<pre><code>&lt;audio id='audioPlayer' class='audioPlayer&gt;
&lt;source src='song.mp3'&gt;&lt;/source&gt;
&lt;/audio&gt;
</code></pre>

<p>Thanks for the help!</p>
