Syntax
MediaPlayer.PlayState
Possible Values
This property is a read-only Long containing one of the following 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. |
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.