Contents Index Topic Contents | |
Previous Topic: PlayCount Next Topic: PreviewMode |
PlayState Property
Retrieves a value indicating the state of the Microsoft® Windows Media™ Player operation.
Syntax
[ lState = ] MediaPlayer.PlayStatePossible Values
lState Long value indicating the play state. It can have one of the following possible values.
Value Visual Basic Constant Description 0 mpStopped Playback is stopped. 1 mpPaused Playback is paused. 2 mpPlaying Stream is playing. 3 mpWaiting Waiting for stream to begin. 4 mpScanForward Stream is scanning forward. 5 mpScanReverse Stream is scanning in reverse. 6 mpSkipForward Skipping to next. 7 mpSkipReverse Skipping to previous. 8 mpClosed Stream is not open. This property is read-only.
Remarks
Retrieve this property to determine the status of an open clip.
If the value of the SendPlayStateChangeEvents property is true, Windows Media Player control fires a PlayStateChange event each time the PlayState property changes.
See Also
SendPlayStateChangeEvents, PlayStateChange, Monitoring Stream Status and Network Reception
Top of Page
© 1999 Microsoft and/or its suppliers. All rights reserved. Terms of Use.