Share via


OpenStateChange (Compact 7)

3/12/2014

This event occurs when the open state changes.

Compatibility: Windows Media Player

Syntax

<SCRIPT FOR="MediaPlayer" EVENT="OpenStateChange(lOldState, lNewState)" 
LANGUAGE="JScript">
  //insert script commands//
</SCRIPT>

Parameters

  • lOldState
    Long value specifying the previous value of the OpenState property.
  • lNewState
    Long value indicating the new value of the OpenState property.

    This event occurs only if the value of the SendOpenStateChangeEvents property is true.

See Also

Reference

Windows Media Player Events