PlayStateChange
A version of this page is also available for
4/8/2010
This event occurs when the play state changes.
Compatibility: Windows Media Player
Syntax
<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
Windows Embedded CE | Windows CE 3.0 and later |
See Also
Reference
Concepts
Compatibility Modes
Monitoring Stream Status and Network Reception