Create audio tag in html4 issue
<p>I am trying to create audio tag in html4.</p>

<p>I have</p>

<pre><code>var audioPlayer=document.createElement('audio');
var audioSource=document.createElement('source');


    audioSource.src=audioFileName;
    audioSource.type="type='audio/mp3'";
    audioPlayer.appendChild(audioSource);

    audioPlayer.width=320;
    audioPlayer.className='text_audio';
    audioPlayer.id='audio_id';
    audioPlayer.style.margin=0;
    audioPlayer.controls='controls';
    $('div').append(audioPlayer); 
</code></pre>

<p>I can see the control bar but it has trouble playing my mp3 file. Are there anyways to do this in Html4?</p>

<p>Thanks a lot!</p>
