|Top Previous Next|
Starts playing video.
procedure PlayVideoFile(FileName : string);
PlayVideoStream starts playing a video from a camera or a network. A video source depends on DeviceType property.
PlayVideoFile starts playing an MJPEG file specified in the FileName parameter. If the video from the file starts successfully (when the first frame is read), OnStartVideoFile event occurs. When the video stops, OnEndVideoFile event occurs. FramePerSec property is used.
To stop a video, call Abort.
You can wait until a video finished using WaitForVideo, WaitForVideoStream, WaitForVideoFile (although, using the events is strongly recommended).