Windows Media Player SDK banner art
PreviousNext

PLAYER Element

The PLAYER element enables the following attribute of the Player object to be specified within a skin definition file.

Attribute Description
url Specifies or retrieves the name of the file to play.

The PLAYER element can implement event handlers for the following events fired from the Player object.

Event Description
buffering Occurs when the player begins or ends buffering.
currentitemchange Occurs when the current item changes.
currentplaylistchange Occurs when the current playlist changes.
error Occurs when the player encounters an error condition.
markerhit Occurs when the player encounters a marker in the clip.
mediachange Occurs when a media item changes.
mediacollectionchange Occurs when the MediaCollection object changes.
modechange Occurs when switching between shuffle and normal mode.
openstatechange Occurs when player.openState changes.
playlistchange Occurs when a playlist changes.
playstatechange Occurs when player.playState changes.
positionchange Occurs when player.controls.currentPosition changes.
scriptcommand Occurs when the player encounters a script command embedded in the Windows Media file.
statuschange Occurs when the status property changes value.

See Also

PreviousNext


© 2000-2001 Microsoft Corporation. All rights reserved.