PlayState Property

Returns a Long value indicating the state of the control’s operation.

Syntax

MediaPlayer.PlayState

Remarks

Use PlayState to determine the status of an open title. The PlayState property can have the following values.

Constant Value Description
mpStopped 0 Playback is stopped.
mpPaused 1 Playback is paused.
mpPlaying 2 Stream is playing.
mpWaiting 3 Waiting for stream to begin.
mpScanForward 4 Stream is scanning forward.
mpScanReverse 5 Stream is scanning in reverse.
mpSkipForward 6 Skipping to next.
mpSkipReverse 7 Skipping to previous
mpClosed 8 Stream is not open.

Each time the PlayState property changes, a PlayStateChange event is fired by the server if the SendPlayStateChange property is True.

See Also

SendPlayStateChangeEvents, PlayStateChange

© 1996-1998 Microsoft Corporation. All rights reserved.