Introduction RealSystem Components How to Download This Guide to Your Computer How This Guide Is Organized Conventions Used in this Guide Additional Documentation Resources Technical Support RealForum
1 RealOne Player Environment The Three-Pane Environment The Media Playback Pane The Related Info Pane The Media Browser Pane Now Playing List Secondary Browsing Windows Controlling Interactions Between RealOne Player Panes Displaying HTML Pages Through Streaming Media Appending HTML URLs to Media URLs in a Ram File Embedding HTML URLs In a RealVideo or RealAudio Clip Using SMIL to Display HTML Pages Controlling Content Through the HTML Panes Opening URLs with Simple Links Javascript and ActiveX Methods Using Javascript and ActiveX in the RealOne Player Environment Using Javascript Methods and Events Using ActiveX Controls Using RealOne Player Methods Customizing Playback and Dynamically Opening URLs Playing a Clip Using the Now Playing List Opening a URL in the Media Browser Pane Caching URLs to Enhance Playback Performance Handling Actions Setting the Background Color Retrieving RealOne Player Information Retrieving Version Information Unpacking Version Information Getting Player Information Displaying Clip Information Determining Installed Player Components Using RealOne Player Event Handlers Handling Media Clip Buffering Determining the Current Time Position Performing Tasks Before Playing a Clip Detecting a State Change
2 RealOne Player Methods AddToNowPlaying ClearNowPlaying ComponentVersion GetClipInfo GetPlayerState HandleAction InstalledComponents OpenURLInPlayerBrowser PlayClip PlayerProperty PreloadURL RealPlayerVersion SetVideoBackgroundColor
3 RealOne Player Events RPOnBuffering RPOnPositionLengthChange RPOnPreload RPOnStateChange
4 Embedded Environment Understanding Presentation Embedding Embedded Environment vs. RealOne Environment How Embedding Works The Embedded Player Backwards Compatibility SMIL in Embedded Presentations Media Preparation The Two Embedding Methods Javascript and VBScript Methods Callback Events Using the Netscape Plug-in Extending Embedded Controls Through Javascript Receiving Callbacks Through Javascript Handling Events in Netscape Navigator 6 Handling Events in Netscape Navigator 4.x Class Files Using the ActiveX Control Extending Embedded Controls Through VBScript Receiving Callbacks Through VBScript Tag Parameters AUTOGOTOURL AUTOSTART BACKGROUNDCOLOR CENTER CLASSID CONSOLE Tips for Using Consoles Multiple Controls Example CONTROLS HEIGHT ID IMAGESTATUS LOOP MAINTAINASPECT NAME NOJAVA NUMLOOP PARAM PREFETCH REGION SCRIPTCALLBACKS SHUFFLE SRC Using the TYPE Parameter Specifying a Source With the Netscape Plugin Specifying a Source with ActiveX TYPE WIDTH Embedded Controls All ControlPanel FFCtrl HomeCtrl ImageWindow InfoPanel InfoVolumePanel MuteCtrl MuteVolume PauseButton PlayButton (also PlayOnlyButton) PositionField PositionSlider RWCtrl StatusBar StatusField StopButton TACCtrl VolumeSlider
5 Embedded Method Overviews Controlling Playback Obtaining Play State Information Specifying Control Attributes Seeking Through a Clip Accessing Clip Title, Author, and Copyright Information Directing a Playlist in a Multi-clip Presentation Determining Live Broadcast Display User Interface Dialogs Error Handling Setting the Display Size Controlling Audio Getting Network Information Obtaining RealOne Player Version Information Event Handling Available Methods How Event Handling Works
6 Embedded Player Methods CanPause CanPlay CanStop DoGotoURL DoNextEntry DoPause DoPlay DoPrevEntry DoStop GetAuthor GetAutoGoToURL GetAutoStart GetBackgroundColor GetBandwidthAverage GetBandwidthCurrent GetBufferingTimeElapsed GetBufferingTimeRemaining GetCanSeek GetCenter GetClipHeight GetClipWidth GetConnectionBandwidth GetConsole GetConsoleEvents GetControls GetCopyright GetCurrentEntry GetDRMInfo GetDoubleSize GetEntryAbstract GetEntryAuthor GetEntryCopyright GetEntryTitle GetFullScreen GetImageStatus GetLastErrorMoreInfoURL GetLastErrorRMACode GetLastErrorSeverity GetLastErrorUserCode GetLastErrorUserString GetLastMessage GetLastStatus GetLength GetLiveState GetLoop GetMaintainAspect GetMute GetNumEntries GetNumLoop GetNumSources GetOriginalSize GetPacketsEarly GetPacketsLate GetPacketsMissing GetPacketsOutOfOrder GetPacketsReceived GetPacketsTotal GetPlayState GetPosition GetPreFetch GetShowAbout GetShowPreferences GetShowStatistics GetShuffle GetSource GetSourceTransport GetStereoState GetTitle GetVersionInfo GetVolume GetWantErrors GetWantKeyboardEvents GetWantMouseEvents HasNextEntry HasPrevEntry SetAuthor SetAutoGoToURL SetAutoStart SetBackgroundColor SetCanSeek SetCenter SetConsole SetConsoleEvents SetControls SetCopyright SetDoubleSize SetFullScreen SetImageStatus SetLoop SetMaintainAspect SetMute SetNumLoop SetOriginalSize SetPosition SetPreFetch SetShowAbout SetShowPreferences SetShowStatistics SetShuffle SetSource SetTitle SetVolume SetWantErrors SetWantKeyboardEvents SetWantMouseEvents
7 Embedded Player Callbacks OnAuthorChange OnBuffering OnClipClosed OnClipOpened OnContacting OnCopyrightChange OnErrorMessage OnGotoURL OnKeyDown OnKeyPress OnKeyUp OnLButtonDown OnLButtonUp OnMouseMove OnMuteChange OnPlayStateChange OnPosLength OnPositionChange OnPostSeek OnPreFetchComplete OnPreSeek OnPresentationClosed OnPresentationOpened OnRButtonDown OnRButtonUp OnShowStatus OnStateChange OnTitleChange OnVolumeChange
Glossary