RealMedia - Linking/Embedding
Linking
Once your RealMedia files have been uploaded to the server you will want to give access to it. You may give a link or you may wish to embed it inside of a web page. The Link is the URL to point at the file so that others may view it. The user may copy and paste the link into RealPlayer to view or may click on the link and RealPlayer will launch to play it.
For RealMedia, the files are uploaded to the Content directory. The Link to access a RealMedia file would be:
or
http://real.cc.uga.edu/ramgen/username/moviename.rm
Embedding
You may wish to embed your RealMedia file within a web page. This is especially useful if you wish to embed media within a WebCT course.
The following sample code illustrates how to embed a RealMedia clip in a web page. Note that this clip will begin playing automatically, and no player controls are included. This example links to a local reference movie, which in turn links to one or more streaming media clips on the server. This is the recommended way to handle streaming media, as it provides a way to adjust for user bandwidth.
<PARAM NAME="SRC" VALUE="yourFileName.ram">
<PARAM NAME="CONTROLS" VALUE="ImageWindow">
<PARAM NAME="CONSOLE" VALUE="one">
<PARAM NAME="AUTOSTART" VALUE="true">
<EMBED SRC="yourFileName.ram" WIDTH="320" HEIGHT="240" NOJAVA="true" CONTROLS="ImageWindow" CONSOLE="one" AUTOSTART="true" type="audio/x-pn-realaudio-plugin">
</OBJECT>
If you want to add controls to your clip, you need to add additional <OBJECT> and <EMBED> tags, as shown here. This is the code to use if you embed a clip in a page for a WebCT course:
<PARAM NAME="SRC" VALUE=" http://real.cc.uga.edu/ramgen/username/yourFileName.rm ">
<PARAM NAME="CONTROLS" VALUE="ImageWindow">
<PARAM NAME="CONSOLE" VALUE="one">
<PARAM NAME="AUTOSTART" VALUE="true">
<EMBED SRC=" http://real.cc.uga.edu/ramgen/username/yourFileName.rm " WIDTH="320" HEIGHT="240" NOJAVA="true" CONTROLS="ImageWindow" CONSOLE="one" AUTOSTART="true" type="audio/x-pn-realaudio-plugin">
</OBJECT>
<OBJECT ID="RVOCX" CLASSID="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" WIDTH="375" HEIGHT="100">
<PARAM NAME="CONTROLS" VALUE="All">
<PARAM NAME="CONSOLE" VALUE="one">
<EMBED SRC=" http://real.cc.uga.edu/ramgen/username/yourFileName.rm " WIDTH="320" HEIGHT="100" NOJAVA="true" CONTROLS="All" CONSOLE="one" type="audio/x-pn-realaudio-plugin">
</OBJECT>
For more details on embedding your RealMedia clips on a web page, see “Web Page Embedding” on the RealNetworks site.
WebCT and RealMedia Streaming
To use RealMedia clips within WebCT:
- Prepare your clips for Streaming and upload them to the streaming media server.
- Create a web page using the following code:
- Upload the file into WebCT.
<PARAM NAME="SRC" VALUE=" http://real.cc.uga.edu/ramgen/username/yourFileName.rm ">
<PARAM NAME="CONTROLS" VALUE="ImageWindow">
<PARAM NAME="CONSOLE" VALUE="one">
<PARAM NAME="AUTOSTART" VALUE="true">
<EMBED SRC=" http://real.cc.uga.edu/ramgen/username/yourFileName.rm " WIDTH="320" HEIGHT="240" NOJAVA="true" CONTROLS="ImageWindow" CONSOLE="one" AUTOSTART="true" type="audio/x-pn-realaudio-plugin">
</OBJECT>
<OBJECT ID="RVOCX" CLASSID="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" WIDTH="375" HEIGHT="100">
<PARAM NAME="CONTROLS" VALUE="All">
<PARAM NAME="CONSOLE" VALUE="one">
<EMBED SRC=" http://real.cc.uga.edu/ramgen/username/yourFileName.rm " WIDTH="320" HEIGHT="100" NOJAVA="true" CONTROLS="All" CONSOLE="one" type="audio/x-pn-realaudio-plugin">
</OBJECT>

