University of Vermont

Information Technology

How to watch your RealMedia files

After following the directions for uploading a file from Windows or Macintosh, let's suppose your NetID is, say, jqsmith, and you uploaded your file — say, MyMovie.rm — to a folder named using your NetID (for example, jqsmith).

Then, the address used by your browser to open the file MyMovie.rm would be

http://real.uvm.edu:554/ramgen/jqsmith/MyVideo.rm

Example: http://real.uvm.edu:554/ramgen/waw/autopia256.rm

 

"Embedding" videos in a web page is a bit trickier. Once upon  time, this was done using the <EMBED> tag, but EMBED is no longer recognized as proper HTML. It has been replaced by the OBJECT tag, but the OBJECT tag has different meanings for Internet Explorer than it does for FireFox or Safari. You need to nest your OBJECT tags to get something to work in all browsers.

RealMedia makes it even more complicated by requiring two objects: one for the video window, and one for controller.

Here's an example

<!-- define video windows -->
<object ID=VIDWIN classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" width="480" height="360" >
<param name="SRC" value="http://real.uvm.edu:554/ramgen/jqsmith/MyVideo.rm?embed">
<param name="AUTOSTART" value="TRUE">
<param name="CONTROLS" value="ImageWindow">
<param name="CONSOLE" value="one">
<param name="TYPE" value="audio/x-pn-realaudio-plugin">
<param name="MAINTAINASPECT" value="TRUE">
<!--[if !IE]>-->
<object type="audio/x-pn-realaudio-plugin" controls="ImageWindow" console="one" width="480" height="360" data="http://real.uvm.edu:554/ramgen/jqsmith/MyVideo.rm?embed">
<param name="SRC" value="http://real.uvm.edu:554/ramgen/jqsmith/MyVideo.rm?embed">
<param name="AUTOSTART" value="TRUE">
<param name="CONTROLS" value="ImageWindow">
<param name="CONSOLE" value="one">
<param name="MAINTAINASPECT" value="TRUE">
<param name="TYPE" value="audio/x-pn-realaudio-plugin">
</object>
<!--<![endif]-->
</object>
<br>
<!-- define control windows -->

<object ID=VIDCON classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" width="480" height="100" >
<param name="SRC" value="http://real.uvm.edu:554/ramgen/jqsmith/MyVideo.rm?embed">
<param name="CONTROLS" value="All">
<param name="CONSOLE" value="one">
<param name="TYPE" value="audio/x-pn-realaudio-plugin">
<!--[if !IE]>-->
<object type="audio/x-pn-realaudio-plugin" controls="All" console="one" width="480" height="100" data="http://real.uvm.edu:554/ramgen/jqsmith/MyVideo.rm?embed">
<param name="SRC" value="http://real.uvm.edu:554/ramgen/jqsmith/MyVideo.rm?embed">
<param name="CONTROLS" value="All">
<param name="CONSOLE" value="one">
<param name="TYPE" value="audio/x-pn-realaudio-plugin">
</object>
<!--<![endif]-->
</object>

Watch this Example

In some cases, it may be preferable to generate the above code programmatically. Here's a PHP script that does just that.

For details of the various tag parameters you can use with RealPlayer embedding, see the RealOne Player Scripting Guide .

Last modified March 02 2009 04:49 PM

Contact UVM © 2014 The University of Vermont - Burlington, VT 05405 - (802) 656-3131