Customer Support
International Downloads Documentation Real.com RealNetworks.com

Embedding a RealVideo clip in your web page

Embedding a presentation in a Web page lets you play back clips without launching RealOne Player as a separate application. You can even include in your page RealOne Player controls such as fast forward and pause. This page explains how you add markup to a Web page so that people view your RealSystem presentation directly through their Web browsers.

How do I embed RealOne Player into my Web site so that it will be recognized by both Netscape and Internet Explorer?


Using RealSystem enables seamless integration of RealOne Player Controls into your Web page layout. You can place individual interactive components, such as control buttons or a RealOne Player image window anywhere on your page, just as you can place an image using the IMG tag in HTML.

There are two RealOne Player features which, in conjunction with the most popular Web browsers, enable "in page" controls.

  • RealOne Player Plug-in provides Player-like features to browsers that support the Netscape Discovery Plug-in architecture.

  • RealOne Player Controls for Active X work with Internet Explorer 4.0 and newer as well as Visual Basic applications to provide RealMedia playback capabilities.

It is possible to author for both Netscape and Internet Explorer by nesting the EMBED tag within the OBJECT tag.

Below is a simple example of the HTML code required to create an embedded RealOne Player with only a video window:

<HTML>

<OBJECT ID=RAOCX CLASSID="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" HEIGHT="320" WIDTH="240">

<PARAM NAME="CONTROLS" VALUE="ImageWindow">
<PARAM NAME="AUTOSTART" Value="true">
<PARAM NAME="SRC" VALUE="http://my.server.com:http port/ramgen/path/filename.rpm">

<EMBED height="240" width="320" controls="ImageWindow" src=" http://my.server.com:http port/ramgen/path/filename.rm?embed" type="audio/x-pn-realaudio-plugin" autostart=true>

</OBJECT>

</HTML>

This code generates the following embedded RealOne Player:

For the most platform-independant Embedded RealOne Player, link to a SMIL file or Ram file, rather than your .rm file directly.

  Additional Information:
For more specific information, the Production Guide and the Embedded RealOne Player Extended Functionality Guide explain in greater detail how to embed RealMedia clips in your page. It is possible to add standard RealOne Player controls or create your own from images or Flash files.

Back to top

Back to RealSystem Overview