GetVideoPosition


ms = GetVideoPosition()

This function returns the position of a video file that is currently playing. The position is returned in milliseconds and may be used with the time formatting functions.


Example:


' Play a video file.
PlayVideo "video/myvideo.3gp"

' Play first 10 seconds of video then stop.
TimeLoop:

Wait 250
ms = GetVideoPosition()
If ms < 10000 Then TimeLoop

StopVideo

Print "End of Video"

Wait






PlayVideo


GetVideoDuration()


SetVideoPosition


PauseVideo


ResumeVideo


StopVideo







Become a Patron