Retrieves the total duration of an opened video clip.

property PlayerDuration: LargeInteger read GetPlayerDuration write SetPlayerDuration;

__property __int64 PlayerDuration=read=GetPlayerDuration write=SetPlayerDuration

Property PlayerDuration As Double


Used to retrieve the total duration of a video clip opened by OpenPlayer (expressed in in 100-nanosecond units, divide it by 10000000 to convert in seconds).

This property is theoretically a read-only property, however you can assign a value to this property to specify the display time when opening static images in the player (useful mainly when opening static images in the Playlist).

E.g. if the playlist must display each static image during 4 seconds, set PlayerDuration = 40000000 before invoking PlayList (pl_Play, "").

See Also
Player features TOnPlayerStateChanged TPlayerState TOnPlayerBufferingData AudioChannelRenderMode AudioStreamNumber AutoStartPlayer AVIDuration AVIHeaderInfo AVIInfo AVIInfo2 ClosePlayer FastForwardPlayer IsPlayerAudioStreamAvailable IsPlayerVideoStreamAvailable Last_Clip_Played OnPlayerBufferingData OnPlayerEndOfStream OnPlayerStateChanged OnPlayerUpdateTrackbarPosition OpenPlayer OpenPlayerAtFramePositions OpenPlayerAtTimePositions PausePlayer PlayerAudioCodec PlayerAudioRendering PlayerDVSize PlayerFastSeekSpeedRatio PlayerFileName PlayerForcedCodec PlayerFrameCount PlayerFramePosition PlayerFrameRate PlayerFrameStep PlayerRefreshPausedDisplay PlayerRefreshPausedDisplayFrameRate PlayerSpeedRatio PlayerTimePosition PlayerTrackBar PlayerTrackBarScale PlayerTrackBarSynchrone PlayerVideoCodec RewindPlayer RunPlayer RunPlayerBackwards ShowDialog SourceStream StopPlayer SynchronizationRole Synchronized VideoHeight_PreferredAspectRatio VideoWidth_PreferredAspectRatio