![]() |
Previous | Next |
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.
Previous | Next |