PlayStateChange
This event occurs when the play state changes.
Compatibility: Windows Media Player
<SCRIPT FOR="MediaPlayer" EVENT="PlayStateChange(lOldState, lNewState)"
LANGUAGE="JScript">
//insert script commands//
</SCRIPT>
Parameters
- lOldState
Long value specifying the previous value of the PlayState property. - lNewState
Long value indicating the new value of the PlayState property. This event occurs only if the value of the SendPlayStateChangeEvents property is true.
Requirements
OS Versions: Windows CE 3.0 and later.
See Also
Windows Media Player Events | Compatibility Modes | Monitoring Stream Status and Network Reception
Last updated on Wednesday, April 13, 2005
© 2005 Microsoft Corporation. All rights reserved.