Microsoft Windows CE 3.0  

PlayStateChange

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

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 SendPlayStateChangeEventsproperty is true.

See Also

Monitoring Stream Status and Network Reception