25.5.2.1. RealMedia
In brief, to link to a RealMedia movie, create a link to a RealMedia
metafile (.ram) as shown in this example:
<A HREF="movie.ram">Link to the streaming movie</A>
The metafile is a small text-only file that contains only the URL for
the RealMedia file (suffix .rm). When the user
clicks the link, the browser accesses the metafile, which launches
the player and passes it the URL of the actual media file:
pnm://domainname.com/song.rm
To embed a RealMedia movie on a web page, use the following code:
<OBJECT ID="spacestress"
CLASSID="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA"
HEIGHT="160" WIDTH="320" BORDER="0">
<PARAM NAME="SRC" VALUE="realmedia/spacestress.rpm">
<PARAM NAME="CONTROLS" VALUE="all">
<EMBED SRC="realmedia/oakshoes.rpm" HEIGHT="150" WIDTH="250"
AUTOSTART="false" CONTROLS="all" BORDER="0">
</OBJECT>
The value of the classid should be copied exactly as it is shown here
as this points to the RealMedia player. Note that when embedding, the
metafile suffix is .rpm (rather than
.ram).