TVideoGrabber.PlayerState

Prev

Next

TVideoGrabber

Properties

 




































































































Returns the current player state.


Declaration
property PlayerState: TPlayerState read GetPlayerState;


__property TPlayerState PlayerState==GetPlayerState, nodefault};


property PlayerState as TPlayerState

Description

Used to retrieve the current player state.

The possible values are:

ps_Closed
ps_Stopped
ps_Paused
ps_Playing
ps_PlayingBackward
ps_FastForwarding
ps_FastRewinding

Each value is greater than the previous one, so it is possible to test e.g. if the clip is playing in any direction by testing PlayerState >= ps_Playing.