User Guide

511
ADOBE GOLIVE CS2
User Guide
To create a Ram file
A Ram file is a text file that contains a URL to the SMIL presentation. If you want to use a link to play a SMIL presen-
tation in a separate RealPlayer application window, the link must reference a Ram text file. When a viewer clicks on
the link, the web browser starts RealPlayer, which then opens the Ram file to locate and play the SMIL presentation.
1 Use a text editor to create a text file.
2 On the first line of the text file, enter a URL for your SMIL presentation according to where the presentation is
stored:
If the SMIL presentation is stored on a streaming RealServer, begin the URL with rtsp://. (For example,
rtsp://server.adobe.com/media/mypresentation.smil)
If the SMIL presentation is stored on a web server, begin the URL with http://. (For example,
http://server.adobe.com/media/mypresentation.smil)
If the SMIL presentation is stored locally on the viewers computer, begin the URL with file://. (For example,
file://media/mypresentation.smil)
3 Save the text file with one of the following extensions:
To reference the Ram file in a link and play a SMIL presentation in a separate RealPlayer application window, save
the text file with a “.ram” extension (For example, mypresentation.ram).
To use the Ram file to embed a SMIL presentation on a web page, save the text file with an “.rpm” extension. (For
example, mypresentation.rpm).
To play SMIL presentations in the RealPlayer application window
You can use a link to play a SMIL presentation in a separate RealPlayer application window. The link must reference
a Ram file that contains a URL to the SMIL presentation. The Ram file must have a “.ram” extension.
1 Open the web page, and then create a link.
2 In the Inspector, enter a URL to a Ram text file that has a .ram extension. (For example,
http://www.adobe.com/mypresentation.ram)
Embedding SMIL presentations on a web page
You embed a SMIL presentation on a web page by adding a RealMedia plug-in to the page and then either referencing
the SMIL document directly, or referencing a Ram text file that contains a URL to the SMIL document. The Ram text
file must have an .rpm extension.
Use a Ram text file if any of the following applies to your situation:
The RealServer for your SMIL presentation doesn’t use RealPlayer Ramgen.
The SMIL presentation is stored on a web server.
All of the files referenced in your SMIL presentation are stored on the viewers local hard disk rather than on the
Internet.