Since submarine patent pilots and all-around rat bastards Eolas managed to nail Microsoft over the use of plug-in technology, which has scads and scads of very obviously applicable prior art, internet explorer is no longer permitted to simply load plugins in response to content on a static page. The lawsuit does not however prevent loading that same content dynamically. This is about as relevant as being able to patent a time-honored business process simply because you're using it for a website, but if that's enough for our patent office, well then it's enough for anyone, right?
Anyway, the situation is really silly. It's so silly that you can't do this:
<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab">
<param name="SRC" value="http://webhost/path/video.mov" />
<param name="AUTOPLAY" value="false" /><param name="CONTROLLER" value="true" />
<embed autoplay="false" controller="true" height="304" pluginspage="http://www.apple.com/quicktime/download/" src="http://webhost/path/video.mov" width="352"></embed>
</object>
But you can do this:
<script language="JavaScript" type="text/javascript">
function InsertQTMovie(url)
{
document.write('<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab">');
document.write('<param name="SRC" value="' + url + '">');
document.write('<param name="AUTOPLAY" value="false">');
document.write('<param name="CONTROLLER" value="true">');
document.write('<embed src="' + url + '" width="352" height="304" autoplay="false" controller="true" pluginspage="http://www.apple.com/quicktime/download/">');
document.write('</embed>');
document.write('</object>');
}
InsertQTMovie("http://webhost/path/video.mov");
</script>
Absolutely the only difference is that the first example is what it looks like when you insert the quicktime player into a static page, and the second example is how you cause it to be rendered into the page after the page has been loaded.
Note that you should add 16 to the height of the player if you are displaying the interface (CONTROLLER = TRUE). There are also a whole bunch of other things you can pass to the player as well; you can find out about these on Apple's page on embedding a Quicktime movie.