<< Click to Display Table of Contents >>
Manual > Control Reference > Other > Video player control > Method >
Gets the duration of a video file.
syntax
GetDuration()
Return Value
Type:
Number
The length of the video file in hours.
Returns the length of the video file in seconds.
Example: If 1 second is 500 ms, it will return 1.5.
reference
Open
Play
Pause
Step
Stop
Close
GetDuration
GetPosition
SetPosition
GetRate
SetRate
Capture
IsMute
Mute
GetVolume
SetVolume
StartRecording
StopRecording
Download
CancelDownload
IsSupport
IsOpen
IsReady