PlayVideo


PlayVideo filename${,StartPaused}

This command plays a video file. The video will play in the current orientation. If the device orientation changes during video playback the video will end. The optional StartPaused flag may be 0 (start playing immediately - default) or 1 (Start paused). When a video file is "StartPaused" video will not start playing until a ResumeVideo command is executed. Graphics mode will be shut off if it is on when a PlayVideo is executed.


Example:


Orientation 2 ' Lock in landscape mode.

PlayVideo "video/myvideo.3gp"

Touch x,y


If you download video files from the Forum, they will be stored in Mintoris.Basic/Data/Video. The Video directory is only a suggested place to store video files. Video files may be stored anywhere relative to the current working directory.

To lock the video playback in the landscape mode execute an Orientation 2 before the PlayVideo command.





Orientation


GetVideoDuration()


GetVideoPosition()


SetVideoPosition


PauseVideo


ResumeVideo


StopVideo







Become a Patron