previous next

Introduction

An Embedded RealPlayer is a variation of RealPlayer® that enables RealMedia™ content to be played back directly within a Web page, rather than launching RealPlayer as a separate application. Content played in an Embedded RealPlayer is called an embedded presentation.

You can create an Embedded RealPlayer for your Web page using the Netscape plug-in or ActiveX control that comes with the RealPlayer installation. By including the plug-in or control in your HTML application, you gain access to methods that set and retrieve presentation attributes, control the clip playback, and handle user interactions. While the methods are most commonly accessed from Java, JavaScript, or VBScript, they can also be developed using C++ and other programming languages.

Before you begin embedding presentations in your web page, you should first obtain and read the RealSystem iQ Production Guide available at http://service.real.com/help/library/encoders.html. This manual describes how to assemble a RealSystem presentation that can be used with the Embedded RealPlayer controls.

What's New in Embedded RealPlayer

Version 2 of this guide includes significant changes to the Netscape plug-in and ActiveX control API sets, improved sample applications, and a new callback event handling mechanism. The following sections highlight these changes. For more detailed descriptions of the changes, see the remaining chapters in this guide.

Methods Removed From the ActiveX and Netscape API Sets

Several methods have been removed from the ActiveX and Netscape APIs and are no longer supported. Calls to any of these functions will be ignored by the Embedded RealPlayer because no new methods have been introduced to the API sets to replace the removed methods.

For More Information: For a complete list of all removed methods, see "Methods Removed From the ActiveX and Netscape API Sets".

Obsolete Methods in the ActiveX and Netscape API Sets

Several methods are considered to be obsolete in versions later than RealPlayer 8.x, but may be used depending on your development platform and application requirements. In some instances, new methods have been added to the API sets to replace some of the obsolete methods. When this is the case, it is strongly recommended that you use the new method.

For More Information: For a complete list of all obsolete methods, see "Obsolete Methods in the ActiveX and Netscape API Sets".

New Event Handling Mechanism for Netscape Plug-ins

Netscape® version 6.0 does not support callback event handling in the same manner as previous versions. For this reason, Embedded RealPlayer introduces a new mechanism for event handling involving the use of JavaScript and callback methods in a Netscape plug-in. The procedure is available for Netscape running on Microsoft Windows® or Macintosh®, and Microsoft Internet Explorer® running on Macintosh. For more information about using the new mechanism, see "Handling Callback Events From RealPlayer".

RealSystem Components

You need the following tools to create and test your embedded presentation:

How This Manual Is Organized

This manual contains the following chapters:

Chapter 1: Embedded Presentations

This chapter provides an overview of embedding RealPlayer presentations on a Web page, with descriptions of the <EMBED> tag for plug-ins and the <OBJECT> tag for ActiveX controls. A list of the available tag parameters is also provided.

Chapter 2: Using Scripting

This chapter provides a basic overview of scripting for the Embedded RealPlayer controls on your Web page, with emphasis on the methods supplied with the RealPlayer.

Chapter 3: Using Callbacks

This chapter provides an overview of how to use the RealPlayer callback methods.

Chapter 4: Methods

This chapter provides complete descriptions of all the RealPlayer embedded methods.

Chapter 5. Callback Methods

This chapter provides complete descriptions of all the RealPlayer callback methods.

In addition, an appendix, "Compatibility", is included that describes the compatibility of this version of the Embedded RealPlayer methods and callbacks to those of previous versions.

Conventions Used in this Manual

The following table explains the conventions used in this manual.

Notational Conventions
Convention Meaning
variables Italicized text represents variables. Substitute values appropriate for your situation.
[options] Square brackets indicate optional values you may or may not need to use.
choice 1|choice 2 Vertical lines separate values you can choose between.
... Ellipses indicate nonessential information omitted from the example.

Technical Support

For technical support with RealSystem, please fill out the form at:

http://customerrelations.real.com/scripts/rnforms/contact_tech_service.asp

The information you provide in this form will help technical support personnel to give you a prompt response. For general information about RealNetworks' technical support, visit http://service.real.com/help/call.html

RealForum

RealNetworks also encourages you to join RealForum, an e-mail discussion group about RealSystem products where developers and content producers post tips and ask for assistance. RealNetworks employees monitor the postings and offer suggestions as appropriate. You can sign up for RealForum by connecting to http://realforum.real.com/ and clicking on New user.


RealNetworks, Inc. ©2001 RealNetworks, Inc. All rights reserved.
For more information, visit RealNetworks
Click here if the Table of Contents frame is not visible at the left side of your screen.
previous next