A Ram file lists the location of your clip or SMIL file. You then link your Web page to the Ram file. When visitors click this link, their RealPlayers launch and play the clip or clips listed in the Ram file or SMIL file.
http://www.company.com/media/video1.rm
This example shows a link to a SMIL file:
http://www.company.com/media/myclips.smil
To deliver a few clips or SMIL files in sequence, list the URLs in their playback order. You might list three clips, two SMIL files, a clip and then a SMIL file, or any other combination. For example:
http://www.company.com/media/video1.rm
http://www.company.com/media/video2.rm
http://www.company.com/media/morevids.smil
|
|
Note |
|---|
| Keep in mind that each clip needs to be specified in either a SMIL file or the Ram file, but not both. |
You can add a comment to a Ram file by using a pound sign ("#") as the first character on a line. The following example shows two lines commented out of a Ram file:
# Two videos and a SMIL presentation
# streamed from my Web server.
http://www.company.com/media/video1.rm
http://www.company.com/media/video2.rm
http://www.company.com/media/morevids.smil
<a href="http://www.company.com/media/myclips.ram">click for video</a>
Be sure to tell your Web page visitors that they need RealPlayer G2 or higher to play your clips. You can also include a RealPlayer download link button so that visitors can get RealPlayer from RealNetworks. You can read RealNetworks' trademark policy and get RealSystem G2 logos from http://www.realnetworks.com/company/guide/index.html.
The following figure illustrates the process of requesting a presentation from a Web server. This shows how all the pieces (Ram file, SMIL file, and clips) fit together to deliver your clips from the Web server to RealPlayer G2.