Closed GoogleCodeExporter closed 9 years ago
IE6 doesn't appear to respect the relationship between <object> and the nested
<embed>. If you modify your test file to use the following code, you'll see
that the <embed> still appears. Thus this is not a SWFObject bug, but an IE bug.
//comment out the embedSWF() so it doesn't fire
//swfobject.embedSWF( ... );
//Replace the contents of "video_object" with nothing (which should erase the
neted <embed> element).
document.getElementById("video_object").innerHTML = "";
Result: the <embed> element still appears, even when SWFObject is taken out of
the picture.
If you're intent on using SWFObject to replace an existing <object><embed>
combo, it's probably best to target the parent DIV instead of the object.
Original comment by platelu...@gmail.com
on 7 Nov 2010 at 7:55
Original issue reported on code.google.com by
gitt...@gmail.com
on 29 Dec 2009 at 9:45Attachments: