GetVideoDuration


ms = GetVideoDuration()

This function returns the duration of a video file that is currently playing. The duration is returned in milliseconds and may be used with the time formatting functions. This function will return zero when the video has completed playing.


Example:


' Play a video file but start paused.
PlayVideo "video/myvideo.3gp", 1

ms = GetVideoDuration()
Print "Video Duration: ";FormatTime(ms, "HH:mm:ss")

Wait






PlayVideo


GetVideoPosition()


SetVideoPosition


PauseVideo


ResumeVideo


StopVideo







Become a Patron