RealOne Player Javascript Methods
| Sample File |
Description |
Feature Illustrated |
Reference |
play.htm |
Plays a simple clip in the media playback pane. |
PlayClip method |
click here |
play2.htm |
Plays a simple clip in the media playback pane, and includes clip information in the status display and the related info pane. |
PlayClip method |
click here |
play3.htm |
Plays a simple clip in the media playback pane, and loads a separate HTML file in the related info pane. |
PlayClip method |
click here |
play4.htm |
Plays a simple clip in the media playback pane. and loads a separate HTML file in the media browser pane. |
PlayClip method |
click here |
color.htm |
Changes the background color of the media playback pane. |
SetVideoBackgroundColor method |
click here |
rversion.htm |
Displays the RealOne Player version number in packed form, then displays the version number in unpacked form. |
RealPlayerVersion method and the UnpackVersionNumber function |
click here |
install.htm |
Returns a list of all of the installed components in the user's RealOne Player, along with the version number of each component. |
InstalledComponents method |
click here |
url.htm |
Plays a clip in the media playback pane, and opens a specified URL in the media browser pane after five seconds. |
OpenURLInPlayerBrowser method and RPOnPositionLengthChange callback |
click here |
add.htm |
Adds a clip to the Now Playing list or deletes all clips from the Now Playing list. |
AddToNowPlaying and ClearNowPlaying methods |
click here |
action.htm |
Handles various actions in the RealOne Player, such as navigating to a specified URL, opening player dialog boxes, and opening the player tabs. |
HandleAction method |
click here |
component.htm |
Retrieves and displays the packed version number of a specified component, then displays the unpacked version number for that component. |
ComponentVersion method and UnpackVersionNumber function. |
click here |
property.htm |
Displays the RealOne Player properties and their current values. |
PlayerProperty method |
click here |
clipinfo.htm |
Plays a clip that contains altered clip information, and displays the new clip information in the related info pane. |
GetClipInfo method |
click here |
playstate.htm |
Plays a clip in the media playback pane, and contains a button that retrieves the current player state. |
GetPlayerState method |
click here |
callback.htm |
Displays any callbacks received from the RealOne Player. |
RPOnBuffering, RPOnPositionLengthChange, RPOnPreload, and RPOnStateChange events |
click here |
RealOne Player VBScript Methods
| Sample File |
Description |
Feature Illustrated |
Reference |
play.htm |
Plays a simple clip in the media playback pane. |
PlayClip method |
click here |
play2.htm |
Plays a simple clip in the media playback pane, and includes clip information in the status display and the related info pane. |
PlayClip method |
click here |
play3.htm |
Plays a simple clip in the media playback pane, and loads a separate HTML file in the related info pane. |
PlayClip method |
click here |
play4.htm |
Plays a simple clip in the media playback pane. and loads a separate HTML file in the media browser pane. |
PlayClip method |
click here |
color.htm |
Changes the background color of the media playback pane. |
SetVideoBackgroundColor method |
click here |
rversion.htm |
Displays the RealOne Player version number in packed form, then displays the version number in unpacked form. |
RealPlayerVersion method and the UnpackVersionNumber function |
click here |
install.htm |
Returns a list of all of the installed components in the user's RealOne Player, along with the version number of each component. |
InstalledComponents method |
click here |
url.htm |
Plays a clip in the media playback pane, and opens a specified URL in the media browser pane after five seconds. |
OpenURLInPlayerBrowser method and RPOnPositionLengthChange callback |
click here |
add.htm |
Adds a clip to the Now Playing list or deletes all clips from the Now Playing list. |
AddToNowPlaying and ClearNowPlaying methods |
click here |
action.htm |
Handles various actions in the RealOne Player, such as navigating to a specified URL, opening player dialog boxes, and opening the player tabs. |
HandleAction method |
click here |
component.htm |
Retrieves and displays the packed version number of a specified component, then displays the unpacked version number for that component. |
ComponentVersion method and UnpackVersionNumber function. |
click here |
property.htm |
Displays the RealOne Player properties and their current values. |
PlayerProperty method |
click here |
clipinfo.htm |
Plays a clip that contains altered clip information, and displays the new clip information in the related info pane. |
GetClipInfo method |
click here |
playstate.htm |
Plays a clip in the media playback pane, and contains a button that retrieves the current player state. |
GetPlayerState method |
click here |
callback.htm |
Displays any callbacks received from the RealOne Player. |
RPOnBuffering, RPOnPositionLengthChange, RPOnPreload, and RPOnStateChange events |
click here |
RealOne Player ActiveX Methods
| Sample File |
Description |
Feature Illustrated |
Reference |
play.htm |
Opens the RealOne Player from an external web page and plays a simple clip in the media playback pane. |
PlayClip method |
click here |
play2.htm |
Opens the RealOne Player from an external web page and plays a simple clip in the media playback pane, and includes clip information in the status display and the related info pane. |
PlayClip method |
click here |
play3.htm |
Opens the RealOne Player from an external web page, plays a simple clip in the media playback pane, and loads a separate HTML file in the related info pane. |
PlayClip method |
click here |
play4.htm |
Opens the RealOne Player from an external web page, plays a simple clip in the media playback pane, and loads a separate HTML file in the media browser pane. |
PlayClip method |
click here |
rversionX.htm |
Displays the RealOne Player version number in packed and unpacked form from an external web page. |
RealPlayerVersion method and the UnpackVersionNumber function, along with the RealOne ActiveX control in an external web page. |
click here |
install.htm |
Returns a list of all of the installed components in the user's RealOne Player, along with the version number of each component. |
InstalledComponents method |
click here |
url.htm |
Opens the RealOne Player from an external web page, then opens a specified URL in the media browser pane. |
OpenURLInPlayerBrowser method |
click here |
add.htm |
Opens the RealOne Player from an external web page, then either adds a clip to the Now Playing list or deletes all clips from the Now Playing list. |
AddToNowPlaying and ClearNowPlaying methods |
click here |
action.htm |
Opens the RealOne Player from an external web page, then handles various actions in the RealOne Player, such as navigating to a specified URL, opening player dialog boxes, and opening the player tabs. |
HandleAction method |
click here |
component.htm |
Retrieves and displays the packed version number of a specified component of the RealOne Player from an external web page, then displays the unpacked version number for that component. |
ComponentVersion method and UnpackVersionNumber function. |
click here |
callback.htm |
Opens the RealOne Player from an external web page, opens a separate web page in the media browser pane to receive callbacks, and plays a clip while displaying the callbacks. |
RPOnBuffering, RPOnPositionLengthChange, RPOnPreload, and RPOnStateChange events |
click here |
Basic Web Page Embedding
| Sample File |
Description |
Feature Illustrated |
Reference |
plugin.htm |
An HTML page opens, plays a video, and exhibits all the RealOne Player controls that you can add to a Web page. |
all RealOne Player controls, as well as the CONSOLE and AUTOSTART parameters |
click here |
plugin2.htm |
Same as the preceding, but the controls are embedded using both <EMBED> and <OBJECT> tags. |
<EMBED> and <OBJECT> tags combined |
click here |
allcontrol.htm |
An HTML page embeds various sizes of the All control, showing how that control drops certain features as you reduce its width or height |
CONTROLS=All at different widths and heights |
click here |
controlpanel.htm |
An HTML page embeds various sizes of the ControlPanel control, showing how that control drops certain buttons as you reduce its width. |
CONTROLS=ControlPanel at different widths |
click here |
taccontrol.htm |
An HTML page embeds various sizes of the TACCtrl control, showing how that control drops the Clip Info text as you reduce its width. |
CONTROLS=TACCtrl at different widths |
click here |
statusbar.htm |
An HTML page embeds various sizes of the StatusBar control, showing how that control drops certain fields as you reduce its width. |
CONTROLS=StatusBar at different widths |
click here |
multiple.htm |
Two videos are linked to two different sets of controls. Each video plays in the same image window, however. |
CONSOLE parameter |
click here |
Embedded Player Javascript Methods
| Sample File |
Description |
Feature Illustrated |
Reference |
playback1.htm |
Embeds an image window on the page, and uses a simple form to provide play, pause, and stop buttons. In addition, provides buttons that display whether the presentation is playing, paused, or stopped. |
uses the <EMBED> tag for basic embedding, and uses a simple form to exercise the DoPlay, DoPause, DoStop and the CanPlay, CanPause, and CanStop methods |
click here |
playback2.htm |
Embeds the Play, Pause, and stop RealOne Player buttons along with the image window. |
uses the <EMBED> tag to embed various RealOne Player components on the page |
click here |
back.htm |
Changes the background color of the image window. If the size of the clip is smaller than the size of the image window, this background color fills the rest of the image window. |
GetBackgroundColor and SetBackgroundColor methods |
click here |
prefetch.htm |
Enables or disables the prefetch attribute on the page. If prefetch is enabled, the first entry is prefetched, the size of of clip is displayed once the prefetch is complete, and the clip is then played. |
GetPreFetch and SetPreFetch methods, and OnPreFetchComplete callback handler |
click here |
controls.htm |
When this page is loaded, no control attributes for the embedded components are set. Once you press the Set Controls button, all of the embedded components have their proper control attributes set. |
GetControls and SetControls methods |
click here |
console.htm |
When this page is loaded, no console attributes are set (that is, none of the embedded components are linked to each other). Once you set the Set Console button, all of the embedded components are linked together. |
GetConsole and SetConsole methods |
click here |
auto.htm |
This page is loaded with no play button. Press the Set Auto button to set the Auto Start attribute to true, which automatically starts playing the presentation. |
GetAutoStart and SetAutoStart methods |
click here |
position.htm |
Demonstrates the position controls for the clip being played. position and clip length. |
GetPosition, SetPosition, and GetLength methods |
click here |
cliptac.htm |
Displays and manipulates the presentation's title, author, and copyright information. Also displays the clip width and height. |
GetTitle, SetTitle, GetAuthor, SetAuthor, GetCopyright, SetCopyright, GetClipWidth, and GetClipHeight methods |
click here |
playlist.htm |
Demonstrates how to move between presentation entries, how to display the entry information, and monitor the current play state. |
HasNextEntry, DoNextEntry, HasPrevEntry, DoPrevEntry, GetNumEntries, GetCurrentEntry, GetEntryTitle, GetEntryAuthor, GetEntryCopyright, GetEntryAbstract, and GetPlayState methods |
click here |
state.htm |
Shows how to retrieve the current state of the player and, if buffering, how much time remains for it to buffer. |
GetPlayState, GetBufferingTimeElapsed, and GetBufferingTimeRemaining methods |
click here |
liveplay.htm |
Is the presentation live, or is it recorded? |
GetLiveState method |
click here |
dialog.htm |
Demonstrates how to open the Statistics, Preferences, and About RealOne Player dialog boxes. |
GetShowStatistics, SetShowStatistics, GetShowPreferences, SetShowPreferences, GetShowAbout, and SetShowAbout methods |
click here |
volume.htm |
Shows how to get and set the volume and mute controls for the presentation. In addition, includes a button that determines whether the clip is in stereo or monaural. |
GetVolume, SetVolume, GetMute, SetMute, and GetStereoState methods |
click here |
network.htm |
Provides all the network information about the clip that is currently playing. |
GetSourceTransport, GetPacketsTotal, GetPacketsReceived, GetNumSources, GetPacketsOutOfOrder, GetPacketsMissing, GetPacketsEarly, GetPacketsLate, GetBandwidthAverage, and GetBandwidthCurrent methods |
click here |
display.htm |
Shows how to zoom the presentation from its original size to full screen and back. |
GetOriginalSize, SetOriginalSize, GetFullScreen, and SetFullScreen methods |
click here |
version.htm |
Displays the player's major, minor, and build version information. |
GetVersionInfo method |
click here |
errors.htm |
Disables or enables (default) error reporting, and reports any error information that is received. |
GetWantErrors, SetWantErrors, GetLastErrorUserString, GetLastErrorMoreInfoURL, GetLastErrorRMACode, GetLastErrorSeverity, and GetLastErrorUserCode methods |
click here |
callback.htm |
Demonstrates how to receive callbacks from the embedded player. This sample only works with Netscape Navigator. |
most of the callbacks for the embedded RealOne Player |
click here |
callback2.htm |
Demonstrates how to receive callbacks from the embedded player. This sample works on both Netscape Navigator and Internet Explorer. |
receiving callbacks on multiple browsers |
click here, click here |
Embedded Player VBScript Methods
| Sample File |
Description |
Feature Illustrated |
Reference |
playback1.htm |
Embeds an image window on the page, and uses a simple form to provide play, pause, and stop buttons. In addition, provides buttons that display whether the presentation is playing, paused, or stopped. |
uses the <EMBED> tag for basic embedding, and uses a simple form to exercise the DoPlay, DoPause, DoStop and the CanPlay, CanPause, and CanStop methods |
click here |
playback2.htm |
Embeds the Play, Pause, and stop RealOne Player buttons along with the image window. |
uses the <EMBED> tag to embed various RealOne Player components on the page |
click here |
back.htm |
Changes the background color of the image window. If the size of the clip is smaller than the size of the image window, this background color fills the rest of the image window. |
GetBackgroundColor and SetBackgroundColor methods |
click here |
prefetch.htm |
Enables or disables the prefetch attribute on the page. If prefetch is enabled, the first entry is prefetched, the size of of clip is displayed once the prefetch is complete, and the clip is then played. |
GetPreFetch and SetPreFetch methods, and OnPreFetchComplete callback handler |
click here |
controls.htm |
When this page is loaded, no control attributes for the embedded components are set. Once you press the Set Controls button, all of the embedded components have their proper control attributes set. |
GetControls and SetControls methods |
click here |
console.htm |
When this page is loaded, no console attributes are set (that is, none of the embedded components are linked to each other). Once you set the Set Console button, all of the embedded components are linked together. |
GetConsole and SetConsole methods |
click here |
auto.htm |
This page is loaded with no play button. Press the Set Auto button to set the Auto Start attribute to true, which automatically starts playing the presentation. |
GetAutoStart and SetAutoStart methods |
click here |
position.htm |
Demonstrates the position controls for the clip being played. position and clip length. |
GetPosition, SetPosition, and GetLength methods |
click here |
cliptac.htm |
Displays and manipulates the presentation's title, author, and copyright information. Also displays the clip width and height. |
GetTitle, SetTitle, GetAuthor, SetAuthor, GetCopyright, SetCopyright, GetClipWidth, and GetClipHeight methods |
click here |
playlist.htm |
Demonstrates how to move between presentation entries, how to display the entry information, and monitor the current play state. |
HasNextEntry, DoNextEntry, HasPrevEntry, DoPrevEntry, GetNumEntries, GetCurrentEntry, GetEntryTitle, GetEntryAuthor, GetEntryCopyright, GetEntryAbstract, and GetPlayState methods |
click here |
state.htm |
Shows how to retrieve the current state of the player and, if buffering, how much time remains for it to buffer. |
GetPlayState, GetBufferingTimeElapsed, and GetBufferingTimeRemaining methods |
click here |
liveplay.htm |
Is the presentation live, or is it recorded? |
GetLiveState method |
click here |
dialog.htm |
Demonstrates how to open the Statistics, Preferences, and About RealOne Player dialog boxes. |
GetShowStatistics, SetShowStatistics, GetShowPreferences, SetShowPreferences, GetShowAbout, and SetShowAbout methods |
click here |
volume.htm |
Shows how to get and set the volume and mute controls for the presentation. In addition, includes a button that determines whether the clip is in stereo or monaural. |
GetVolume, SetVolume, GetMute, SetMute, and GetStereoState methods |
click here |
network.htm |
Provides all the network information about the clip that is currently playing. |
GetSourceTransport, GetPacketsTotal, GetPacketsReceived, GetNumSources, GetPacketsOutOfOrder, GetPacketsMissing, GetPacketsEarly, GetPacketsLate, GetBandwidthAverage, and GetBandwidthCurrent methods |
click here |
display.htm |
Shows how to zoom the presentation from its original size to full screen and back. |
GetOriginalSize, SetOriginalSize, GetFullScreen, and SetFullScreen methods |
click here |
version.htm |
Displays the player's major, minor, and build version information. |
GetVersionInfo method |
click here |
errors.htm |
Disables or enables (default) error reporting, and reports any error information that is received. |
GetWantErrors, SetWantErrors, GetLastErrorUserString, GetLastErrorMoreInfoURL, GetLastErrorRMACode, GetLastErrorSeverity, and GetLastErrorUserCode methods |
click here |
callback.htm |
Demonstrates how to receive callbacks from the embedded player. This sample only works with Internet Explorer. |
all callbacks for the embedded RealOne Player |
click here |