The Windows Media Player Object Model version 6.4 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 cursor on the Windows Media Player control. |
DblClick |
Occurs when a user double-clicks the mouse with the cursor on the Windows Media Player control. |
Disconnect |
Occurs when the Windows Media Player control is disconnected from the server. |
DisplayModeChange |
Occurs when the DisplayMode property changes. |
DVDNotify |
Occurs when a DVD-related notification is triggered. |
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 |
Occurs when the Windows Media Player control encounters a possible problem. |