Player6.PlayState (deprecated)

Windows Media Player SDK banner art

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 a value indicating the state of the Windows Media Player operation.

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.

Requirements

Version: Windows Media Player version 6.4.

Library: Use msdxm.ocx.

Platform: Windows 98 Second Edition or higher.

See Also