Serving streaming media files

Serving a file from a link on a web page

Some people would argue that this is the best method of serving streamed video. This method opens the presentation in the application window (RealOne Player in this example) and gives the viewer the option to resize the viewing window.

Here is an example of a RealMedia file streamed from a link (click to view the broadcast in the player window). Note: in all cases, your audience must have RealOne, or the required player for the media type, installed on their machine.

To serve a file from a link on a web page, use the following link format:

<a href="http://rm.auburn.edu:7070/ramgen/realN/path/filename.rm">

Embedding streaming files

To embed a RealMedia file on a web page, use this code:

<embed
controls="imagewindow"
console="Clip1"
src="rtsp://rm.auburn.edu:7070/realN/path/filename.rm" width="320" height="240"
autostart="false"></embed><BR>

<embed
controls="controlpanel"
console="Clip1"
src="rtsp://rm.auburn.edu:7070/realN/path/filename.rm" width="320" height="30"></embed>

Where realN/path / filename.rm is the volume, path, and the filename. You do not need to include the "ramgen" virtual path with the "rtsp" protocol.

If you want the file to play when the page is viewed (without having to press the start button), turn autostart to "true".

Here is a sample of an embedded file with "autostart" turned to "false". To play the clip, click on the arrow on the control panel below the window.