Hi, I need some help with a webpage....
I'm currently adding an embedded video to my webpage but for some reason IE adds additional parameters to my object tag when I'm using innerHTML?
For instance..
objectText = <object id="player" codebase="......" classid="....." width="...." height="....." style=""><param name="MRL" value="../media/video.flv"/></object>
but when using: n.innerHTML = objectText; (where n is the element found by the id),
The innerHTML changes to something totally different. Internet Explorer parses the text and for some reason adds parameters to the innerHTML.... Why?? I don't want that!..., I want to add exactly the text and parameters of objectText.
My innerHtml looks like this which is not what I want!
<OBJECT id=player style="LEFT: 0px; WIDTH: 320px; TOP: 0px; HEIGHT: 240px" codeBase=http://downloads.videolan.org/pub/videolan/vlc/latest/win32/axvlc.cab height=240 width=320 classid=clsid:9BE31822-FDAD-461B-AD51-BE1D1C159921><PARAM NAME="AutoLoop" VALUE="0"><PARAM NAME="AutoPlay" VALUE="-1"><PARAM NAME="Toolbar" VALUE="0"><PARAM NAME="ExtentWidth" VALUE="8467"><PARAM NAME="ExtentHeight" VALUE="6350"><PARAM NAME="MRL" VALUE="video.flv"><PARAM NAME="Visible" VALUE="-1"><PARAM NAME="Volume" VALUE="50"><PARAM NAME="StartTime" VALUE="0"><PARAM NAME="BaseURL" VALUE="19.html"><PARAM NAME="BackColor" VALUE="0"></OBJECT>
Can someone help me with this? How can I get IE not to parse and add parameters to the text that I assign to the innerHTML of a specific tag with a specific id?
Help please...
I'm currently adding an embedded video to my webpage but for some reason IE adds additional parameters to my object tag when I'm using innerHTML?
For instance..
objectText = <object id="player" codebase="......" classid="....." width="...." height="....." style=""><param name="MRL" value="../media/video.flv"/></object>
but when using: n.innerHTML = objectText; (where n is the element found by the id),
The innerHTML changes to something totally different. Internet Explorer parses the text and for some reason adds parameters to the innerHTML.... Why?? I don't want that!..., I want to add exactly the text and parameters of objectText.
My innerHtml looks like this which is not what I want!
<OBJECT id=player style="LEFT: 0px; WIDTH: 320px; TOP: 0px; HEIGHT: 240px" codeBase=http://downloads.videolan.org/pub/videolan/vlc/latest/win32/axvlc.cab height=240 width=320 classid=clsid:9BE31822-FDAD-461B-AD51-BE1D1C159921><PARAM NAME="AutoLoop" VALUE="0"><PARAM NAME="AutoPlay" VALUE="-1"><PARAM NAME="Toolbar" VALUE="0"><PARAM NAME="ExtentWidth" VALUE="8467"><PARAM NAME="ExtentHeight" VALUE="6350"><PARAM NAME="MRL" VALUE="video.flv"><PARAM NAME="Visible" VALUE="-1"><PARAM NAME="Volume" VALUE="50"><PARAM NAME="StartTime" VALUE="0"><PARAM NAME="BaseURL" VALUE="19.html"><PARAM NAME="BackColor" VALUE="0"></OBJECT>
Can someone help me with this? How can I get IE not to parse and add parameters to the text that I assign to the innerHTML of a specific tag with a specific id?
Help please...