Technical information

Chapter 6 Setup Example 67
QTSS Publisher will not work for creating webpages with Live Streams from QuickTime
Broadcaster. To create a link to the live stream on a webpage, you have to embed a
streaming movie. One way to embed a streaming movie is with a reference movie.
There are a variety of ways to create reference movies, which function like pointers to
the actual media. The simplest way to create a reference movie is with QuickTime Pro:
1 Open QuickTime Player Pro
2 From the File menu select “Open URL...”
3 Open the URL to your streaming movie using the rtsp URL.
4 Save the movie that plays as a Self-Contained movie.
5 Put the movie that you saved on your website.
6 Make the reference movie the first attribute you specify in the QT WriteObject method
call.
If you don't have QuickTime Pro, you can create a simple reference movie with any text
editor. Just create a text file with one line in the following format:
RTSPtextRTSP://<your server>/<your streaming movie>
Save the file with the .mov extension and place the file on your web server. To embed
the movie on a webpage, use the Object/Embed tag in the webpage's HTML. For
example, if the reference movie was named “live.mov and is in the same directory as
the HTML page, the following tag would embed the live stream:
<OBJECT CLASSID=”clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B”
WIDTH=”320” HEIGHT=”256” CODEBASE=”http://www.apple.com/
qtactivex/qtplugin.cab”>
<PARAM NAME=”src” VALUE=”live.mov”>
<PARAM NAME=”autoplay” VALUE=”true”>
<EMBED SRC=”live.mov” WIDTH=”320” HEIGHT=”256” PLUGINSPAGE=”http://
www.apple.com/quicktime/” AUTOPLAY=”true” />
</EMBED>
</OBJECT>
There are many resources with information about authoring webpages with QuickTime
content. Some excellent references include:
Quicktime for the Web, by Steven Gulie, is the definitive book on QuickTime web
authoring with QuickTime Pro keys included.
Apple's website documents the attributes of the Object/Embed tag:
www.apple.com/quicktime/authoring/embed.html