Disconnect (Compact 7)

3/12/2014

This event occurs when the Windows Media Player control is disconnected from the server.

Compatibility: Windows Media Player

Syntax

<SCRIPT FOR="MediaPlayer" EVENT="Disconnect(lResult)" LANGUAGE="JScript">
  //insert script commands//
</SCRIPT>

Parameters

  • lResult
    Long value specifying the cause of the disconnection.

Remarks

A disconnection can be caused by a network problem, a problem with the server, or other factors.

See Also

Reference

Windows Media Player Events