I am trying to add a sound clip to the span variable created in javascript. But the sound clip is not playing.
Can anyone tell what is the mistake in the code below ??(I included the closing tags in my code)
Here is my code ,
var mySpan=document.createElement('span');
mySpan.innerHTML="embed src=\""+soundfile+"\" hidden=\"true"\ autostart=\ "false" \"
document.body.appenChild(mySpan);
Thanks in advance ..