PlayStateChange (Windows Embedded CE 6.0)

1/6/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

Windows Media Player Events

Concepts

Compatibility Modes
Monitoring Stream Status and Network Reception