Embedding QuickTime into Web Pages

To finish this chapter, let's quickly look at how you can embed streaming movies into a web page. Although you already know how to load them in QuickTime Player, chances are good that not all of your audience will know how. Providing access to content by simply visiting a web page is a far simpler approach to streaming to the masses.

For example, to embed a single movie named mymovie.mov with a height and width of 320×240, you could use the following:

 <OBJECT CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" WIDTH="320" HEIGHT="256" CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab"> <PARAM name="SRC" VALUE="mymovie.mov"> <PARAM name="AUTOPLAY" VALUE="true"> <PARAM name="CONTROLLER" VALUE="true"> <EMBED ...

Get Mac OS® X Tiger™ Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.