Player6.OpenState (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 property retrieves the state of the content source.
Syntax
MediaPlayer.OpenState
Possible Values
This property is a read-only Long containing one of the following values.
Value | Visual Basic constant | Description |
0 | nsClosed | Content file is closed. |
1 | nsLoadingASX | Loading a Windows Media metafile. |
2 | nsLoadingNSC | Loading an .nsc station file. |
3 | nsLocating | Locating the server. |
4 | nsConnecting | Connecting to the server. |
5 | nsOpening | Opening or listening for the stream. |
6 | nsOpen | Content file is open. |
Remarks
Retrieve this property to determine the status of a request to open a clip.
If the value of the SendOpenStateChangeEvents property is true, the Windows Media Player control fires an OpenStateChange event each time the OpenState property changes.
Requirements
Version: Windows Media Player version 6.4.
Library: Use msdxm.ocx.
Platform: Windows 98 Second Edition or higher.
See Also