This method starts the video.
[TVIkVideoDisplayMode Type]
Unit
IkWebCamera
type
TVIkVideoDisplayMode = (vikVideoScale
= 0, vikVideoStretch = 1);
Parameters
Name | Explanation |
---|---|
Mode | The display mode vikVideoScale: Scale (The video is scaled to fit within the Play Control while keeping the video's original height to width ratio) vikVideoStretch: Stretch (The video is stretched to fill the Play Control's dimensions) |
Rate | The video speed |
Return Value
Returns True if successful, returns False when not successful.
Explanation
The Start method starts the video. The Mode parameter determines how the video will be displayed in the Play Control. The Rate parameter sets the speed. Default speed is 1.0. Values of 0 or less are not allowed. Depending on the type of file played (for example WMV format) the Rate parameter may not have any effect. In that case, the rate is 1.0
When the Start method returns True, the State property is updated. If the return value is False, then values of 2, 5, or 11 will be set in the ErrorStatus property.
To specified the starting location of the video, use the StartFrom method.