An Xhtml method of displaying video in both ie and firefox.
Traditionally cross browser solutions have relied on the embed tag to display video in
Netscape/firefox browsers
This is because the classid attribute 'breaks' the object tag for firefox.
So we use the embed tag to display the video.
However embed tags are not part of the xhtml standard.
We can replace the embed tag by using another object with carefully constructed parameters,
commonly known as the twice cooked method.
This works for firefox but is a problem in IE
The drawback is that IE displays two video objects, the one without the classid doesn't work.
So how do we hide the broken object from IE ?
One solution is to use a css bug which hides it in IE but not other browsers
The Star selector bug is a candidate.
The style below hides the second object in IE only.
* html body object.iehide {display:none;}
The code