I am using following code to embed files, video with .wmv
extension, that is not working in Firefox. It's working fine in IE.
document.getElementById("QuestionMedia").innerHTML +=
'<OBJECT ID="MediaPlayer" WIDTH="350" HEIGHT="280" CLASSID="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"STANDBY="Loading Windows Media Player components..." TYPE="application/x-oleobject">' +
'<PARAM NAME="FileName" VALUE="video/' + Question.Media + '">' +
'<PARAM name="autostart" VALUE="false">' +
'<PARAM name="ShowControls" VALUE="true">' +
'<param name="ShowStatusBar" value="false">' +
'<PARAM name="ShowDisplay" VALUE="false">' +
'<EMBED TYPE="video/x-ms-wmv " SRC="video/' + Question.Media + '" NAME="MediaPlayer" WIDTH="350" HEIGHT="280" ShowControls="1" ShowStatusBar="0" ShowDisplay="0" autostart="1"> </EMBED>' +
'</OBJECT>';
Please let me know what would I do to make it work..?