Apple QuickTime Streaming Server (Administrator’s Guide) User Manual
Page 32
32
Chapter 2
3
Enter the URL for the media file (for example: rtsp://myserver.com/mymedia).
4
Replace myserver.com with the DNS name of your streaming server computer, and mymedia
with the name of your hinted movie or media file. This URL assumes that the movie or media
file is located at the top level of your media directory. For movies in subfolders within the
media directory, add the folder to the path name. For example:
rtsp://myserver.com/myfolder/mymedia.mov
If you want users to view streamed media through a web browser, you must set up a web
page to show the media. Then give users the URL of the web page.
Do not attempt to view media in a web browser by typing an RTSP URL directly into the web
browser’s address field.
Setting Up a Web Page With Streamed Media
To embed streaming media in a web page, you use the HTML EMBED tag. For complete
documentation on the features and use of the EMBED tag, go to www.apple.com/quicktime/
authoring/embed.html
The following example places a graphical link to a movie, “sample.mov,” on a web page. ( You
can rename the sample movie that comes with QuickTime and use it for the example.) When
a user clicks the link, the movie will start streaming in QuickTime Player.
<HTML>
<BODY>
This is a sample use of the EMBED tag.<BR>
<EMBED SRC="http://my.webserver.com/linkimage.mov" width="150"
height="64" href="rtsp://my.streamingserver.com/sample.mov"
target="QuickTimePlayer">
</BODY>
</HTML>
The URL specified in the SRC attribute is a link to a still image that has been exported as a
nonhinted QuickTime movie, “linkimage.mov.” This image file serves as the link to the
streaming movie. The width and height attributes specify the width and height of the image
area. The HREF attribute is the URL for the streaming movie that will start playing when the
image is clicked.
To let users view streaming media from a web page, create a reference movie that contains a
streaming track with an RTSP URL that points to the media on your streaming server. Store
the reference movie in the same directory as your web site and include a link to the
reference movie on your web page. For more information on creating a reference movie, go
to developer.apple.com/quicktime/ and click the Tools link. Look for the MakeRefMovie tool
under WebMaster Tools.
LL0329.book Page 32 Wednesday, November 20, 2002 2:09 PM