Player6.Disconnect (deprecated)
This page documents a feature of the Windows Media Player 6.4 ActiveX control. We recommend that you migrate your content to use the Windows Media Player 9 Series ActiveX control. For more information about the Windows Media Player 9 Series ActiveX control, see the Windows Media Player 9 Series SDK.
This event occurs when the Windows Media Player control is disconnected from the server.
Syntax
JScript
<SCRIPT FOR="MediaPlayer"
EVENT="Disconnect(lResult)"
LANGUAGE="JScript">
<!-- insert script commands -->
</SCRIPT>
VBScript
<SCRIPT LANGUAGE="VBScript">
Sub MediaPlayer_Disconnect(lResult)
<!-- insert script commands -->
End Sub
</SCRIPT>
Parameters
* lResult*
Long value specifying the cause of the disconnection.
Remarks
This event is not supported in Netscape Navigator when the Windows Media Player control is embedded in a Web page.
A disconnection can be caused by a network problem, a problem with the server, or other factors.
Requirements
Version: Windows Media Player version 6.4.
Library: Use msdxm.ocx.
Platform: Windows 98 Second Edition or higher.