Search | Directories | Reference Tools
UW Home > UWIN > Computing and Networking > Web > Streaming Media Services 
QuickTime

How to Stream a QuickTime Streaming Movie

Summary

This guide describes how to incorporate a QuickTime™ movie within your Web site so that it streams from the streaming server.

Instructions

First, create a hinted QuickTime movie and upload it to your streaming media directory:

  1. Prepare and encode your source content into a hinted QuickTime Streaming movie. Refer to How to Hint a QuickTime movie for help. Choose an appropriate filename to remind yourself that it has been hinted. The instructions that follow refer to your hinted QuickTime movie as hinted.mov.

  2. If you have not done so already, activate your streaming media directory now.

  3. Upload hinted.mov to your streaming media directory (public_media) on Dante or Homer. Be sure to upload it as "binary" or "raw data" since it is not a text file.

  4. (Optional) Now that hinted.mov is in your streaming media directory, test it using QuickTime Player. If your movie does not stream correctly when opened by QuickTime Player, it is unlikely to stream later, when you've done additional work to add it to your Web site.

Next, create a reference QuickTime movie and upload it to your Web site:

  1. Create a reference QuickTime movie that points to your hinted QuickTime movie on the QuickTime Streaming Server. Choose an appropriate filename to remind yourself that it is a reference QuickTime movie. The instructions below use the simple filename ref.mov.

  2. Upload ref.mov to your Web site. Be sure to upload it as "binary" or "raw data" since it is not a text file.

Finally, reference your reference QuickTime movie from a Web page:

  1. Create or edit the Web page on which you want visitors to find your streaming media. Use whatever tool you normally use to work on Web pages.

  2. Either add a link to your reference QuickTime movie:

    <A HREF="ref.mov">my movie</A>

    Or embed it on the Web page itself:

    <OBJECT CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" WIDTH="pixels" HEIGHT="pixels"
    CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab">
    <PARAM name="SRC" VALUE="ref.mov">
    <PARAM name="AUTOPLAY" VALUE="true">
    <PARAM name="CONTROLLER" VALUE="true">
    <PARAM name="LOOP" VALUE="false">
    <EMBED SRC="ref.mov" WIDTH="pixels" HEIGHT="pixels" AUTOPLAY="true" CONTROLLER="true" LOOP="false" PLUGINSPAGE="http://www.apple.com/quicktime/download/">
    </EMBED>
    </OBJECT>

    Substitute pixels according to the width and height of your hinted QuickTime movie, adding 16 pixels to the actual height to provide space for the movie controller. Refer to Embedding QuickTime for web delivery to learn more about the attributes of the EMBED and OBJECT elements in this context.

  3. (Optional) Add a "Get QuickTime" button for visitors who may need to download the QuickTime Player:

    <A HREF="http://www.apple.com/quicktime/download/"><IMG SRC="http://a772.g.akamai.net/7/772/51/9a209465e85cbe/www.apple.com/main/elements/getquicktime.gif" WIDTH="88" HEIGHT="31" BORDER="0" ALT="Get QuickTime"></A>

    Make sure you adhere to Apple's usage guidelines.

  4. Save this Web page and, if need be, transfer it to your Web site. Your Web page and reference movie should reside in the same directory, otherwise you must adjust the reference to the reference movie.

You're done. Open your Web page and try it out.