![]() |
Previous | Next |
The following methods, properties, and events are currently supported for use with Microsoft® Windows Media™ Player 7 for Mac using the Netscape Navigator plug-in. The Netscape Navigator plug-in uses the Windows Media Player version 6.4 object model, and Windows Media Player 7 for Mac supports a subset of that functionality.
For further details about individual methods, properties, and events, see the Windows Media Player 6.4 Software Development Kit (SDK), or click the links in the following tables.
Windows Media Player 7 for Mac supports the following methods.
Method | Description |
AboutBox | Displays version and copyright information about the Windows Media Player control. |
Cancel | Cancels the Open method before the file completes opening. |
GetCodecDescription | Retrieves the descriptive name of the given codec. |
GetCodecInstalled | Retrieves a value indicating whether a given codec is installed. |
GetCurrentEntry | Retrieves the current clip being played by the Windows Media Player control. |
GetMarkerName | Retrieves the name of a marker, given its marker number. |
GetMarkerTime | Retrieves a value indicating the presentation time of a given marker. |
GetMediaInfoString | Retrieves show or clip information. |
Next | Jumps to the next clip in a playlist. |
Open | Opens a specified clip asynchronously. |
Pause | Suspends playback at the current position in the clip. |
Play | Starts playing a clip from the starting position or continues playing a paused or stopped clip. |
Previous | Jumps to the previous clip in a playlist. |
Stop | Stops playback of the current clip. |
The Windows Media Player 7 for Mac supports the following properties. For unsupported properties, the Windows Media Player Version 6.4 object model default value is also the Macintosh default value.
Property | Description |
AutoStart | Specifies or retrieves a value indicating whether to start playing the clip automatically. |
Bandwidth | Retrieves the bandwidth of the current clip in bits per second (bps). |
BaseURL | Retrieves a value indicating the base URL. |
BufferingCount | Retrieves the number of times buffering occurred during playback of a clip. |
BufferingProgress | Retrieves the percentage of buffering completed. |
BufferingTime | Retrieves the buffering time in seconds. |
CanSeek | Retrieves a value indicating whether the current file has the ability to seek to a specific time. |
CanSeekToMarkers | Retrieves a value indicating whether markers in the file can be located with a seek operation. |
ChannelDescription | Retrieves the station description. |
ChannelName | Retrieves the station name. |
ChannelURL | Retrieves the URL of the station metafile. |
ClientID | Retrieves the unique ID of a client. |
ConnectionSpeed | Retrieves the bandwidth selected during setup. |
ContactAddress | Retrieves the station's contact address. |
ContactEmail | Retrieves the station's e-mail address. |
ContactPhone | Retrieves the station's contact telephone number. |
CurrentMarker | Specifies or retrieves the current marker number. |
CurrentPosition | Specifies or retrieves the clip's current position, in seconds. |
DefaultFrame | Specifies or retrieves a value representing the default target HTTP frame. |
Duration | Retrieves the length of the clip, in seconds. |
EntryCount | Retrieves the number of entries contained in the current Windows Media metafile. |
ErrorCode | Retrieves the current error code. |
ErrorDescription | Retrieves a description of the current error state. |
FileName | Specifies or retrieves the name of the clip to play. |
HasError | Retrieves a value indicating whether the Windows Media Player control currently has an error. |
HasMultipleItems | Retrieves a value indicating whether the current clip contains multiple items (playlists). |
ImageSourceHeight | Retrieves the original image height of the current clip, in pixels. |
ImageSourceWidth | Retrieves the original image width of the current clip, in pixels. |
InvokeURLs | Specifies or retrieves a value indicating whether the Windows Media Player control automatically invokes URLs in a browser (URL flipping). |
IsBroadcast | Retrieves a value indicating whether the source is a broadcast. |
IsDurationValid | Retrieves a value indicating whether the value of the Duration property is valid. |
LostPackets | Retrieves the number of packets lost during transmission of the stream. |
MarkerCount | Retrieves the number of markers in the current clip. |
Mute | Specifies or retrieves the current mute state of the Windows Media Player control. |
OpenState | Retrieves the state of the content source. |
PlayCount | Specifies or retrieves the number of times a clip plays. |
PlayState | Retrieves a value indicating the state of the Windows Media Player operation. |
PreviewMode | Specifies or retrieves a value indicating whether Windows Media Player is in preview mode. |
ReadyState | Retrieves the state of readiness of the Windows Media Player control. |
ReceivedPackets | Retrieves the number of packets received. |
ReceptionQuality | Retrieves the accumulative percentage of packets received in the last 30 seconds. |
RecoveredPackets | Retrieves the number of packets recovered. |
SAMIFileName | Specifies or retrieves the name of the file that contains the closed captioning information. |
SAMILang | Retrieves a value indicating the language displayed for closed captioning. Specifying this value is not supported. |
SAMIStyle | Retrieves a value representing the closed captioning style. Specifying this value is not supported. |
SelectionEnd | Specifies or retrieves the time within the current clip at which playback will stop. |
SelectionStart | Specifies or retrieves the time within the current clip at which playback will begin. |
SendErrorEvents | Specifies or retrieves a value indicating whether the Windows Media Player control sends error events. |
SendKeyboardEvents | Specifies or retrieves a value indicating whether the Windows Media Player control sends keyboard events. |
SendMouseClickEvents | Specifies or retrieves a value indicating whether the Windows Media Player control sends mouse click events. |
SendMouseMoveEvents | Specifies or retrieves a value indicating whether the Windows Media Player control sends mouse move events. |
SendOpenStateChangeEvents | Specifies or retrieves a value indicating whether the Windows Media Player control sends open state change events. |
SendPlayStateChangeEvents | Specifies or retrieves a value indicating whether the Windows Media Player control sends play state change events. |
SendWarningEvents | Specifies or retrieves a value indicating whether the Windows Media Player control sends warning events. |
ShowAudioControls | Specifies or retrieves a value indicating whether the audio controls appear on the control bar. |
ShowCaptioning | Specifies or retrieves a value indicating whether the closed caption area is visible and closed captioning is enabled. |
ShowControls | Specifies or retrieves a value indicating whether the control bar is visible. |
ShowDisplay | Specifies or retrieves a value indicating whether the display panel is visible. |
ShowGotoBar | Specifies or retrieves a value indicating whether the Go To bar is visible. |
ShowPositionControls | Specifies or retrieves a value indicating whether the position controls appear on the control bar. |
ShowStatusBar | Specifies or retrieves a value indicating whether the status bar is visible. |
ShowTracker | Specifies or retrieves a value indicating whether the trackbar is visible. |
SourceLink | Retrieves the path to the current clip. |
Volume | Specifies or retrieves the volume, in hundredths of decibels. |
The Windows Media Player 7 for Mac supports the following events.
Event | Description |
Buffering | Occurs when the Windows Media Player control begins or ends buffering. |
Click | Occurs when a user clicks the mouse with the pointer over the Windows Media Player control. |
DblClick | Occurs when a user double-clicks the mouse with the pointer over the Windows Media Player control. |
EndOfStream | Occurs when the end of the clip is reached. |
Error | Occurs when the Windows Media Player control has an error condition. |
KeyDown | Occurs when a key is pressed. |
KeyPress | Occurs when a key is pressed and released. |
KeyUp | Occurs when a key is released. |
MarkerHit | Occurs when a marker is reached. |
MouseDown | Occurs when a mouse button is pressed. |
MouseMove | Occurs when the mouse pointer is moved. |
MouseUp | Occurs when a mouse button is released. |
NewStream | Occurs when a new stream is started in a station. |
OpenStateChange | Occurs when the Windows Media Player control changes its open state. |
PlayStateChange | Occurs when the Windows Media Player control changes its play state. |
PositionChange | Occurs when the current media position moves to a new position. |
ReadyStateChange | Occurs when the Windows Media Player control's state of readiness changes. |
ScriptCommand | Occurs when a synchronized command or URL is received. |
Warning The following methods, properties, and events are not supported in this version of Windows Media Player for Mac:
Methods
Properties
Events
Previous | Next |