LexiConn Knowledgebase

Knowledgebase Home | Favorites Knowledgebase Home | Favorites
Search the Knowledgebase Browse by Category
How Do I Embed a Real Media Video File in one of My Pages?
Article Details

Last Updated
8th of September, 2008

User Opinions (23 votes)
56% thumbs up 43% thumbs down

How would you rate this answer?
Not helpful

A Real Media video file (.rm) can be embedded in your page directly using the following code:
(replace all attribute values shown in braces with your own values)

Embed a Real Media File

<OBJECT id='rvocx' classid='clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA'
width="[width]" height="[height]">
<param name='src' value="[URL_of_your_media_file.rm]">
<param name='autostart' value="[true|false]">
<param name='controls' value="[imagewindow|other]">
<param name='console' value="[video|(other-media-type)]">
<param name='loop' value="[true|false]">
<EMBED src="[URL_of_your_media_file.rm]" width="[width]" height="[height]"
     loop="[true|false]" type="audio/x-pn-realaudio-plugin" 
     controls="[imagewindow|other]" console="[video|(other-media-type)]" 

Here is an example with sample values:

<OBJECT id='rvocx' classid='clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA'
width="400" height="300">
<param name='src' value="http://www.mysite.com/myvideofile.rm">
<param name='autostart' value="false">
<param name='controls' value="all">
<param name='console' value="video">
<EMBED src="http://www.mysite.com/myvideofile.rm" 
      width="400" height="300"
      controls="all" type="audio/x-pn-realaudio-plugin" 
      console="video" autostart="true">

The Real Media plugin can also reference .ram files, which are text files on your server that reference Real Media files. A .ram file can contain multiple .rm files, serve them as a playlist, and can help obfuscate the location of you original .rm media files, making it more difficult (but not impossible) to download them.

To create a .ram file:

1. Using a text editor (such as Notepad or SimpleText), create a text file containing the URL to each of your realaudio/video file. For example, the contents of your file should be in the following form:


3. Save your text file using a .ram file extension.

4. In your HTML document, reference the .ram text file in a hyperlink. For example:

<A HREF="/audioclip.ram">

More information on .ram files can be found at:

Related Articles
No attachments were found.

Powered by Interspire Knowledge Manager Knowledgebase Software