This method opens the video file.

[Delphi]   [ Boolean = ]playcontrolname.Open(const FileName: string)

Parameters

Name Explanation
FileName The file name and path of the video file to be opened.

Return Value

Returns True if successful, returns False when not successful.

Explanation

The Open method opens the video file specified by the FileName parameter. If the return value is True, then the State property is updated. If the return value is False, then values of 11, 20, 201, or 203 will be set in the ErrorStatus property.

IMPORTANT: The Play Control uses DirectShow which supports only general media format filters by default. It is possible to use some other codecs. However, if you want to open a file in one of these other formats that is not supported by default, you will first need to obtain and install the appropriate codec.

 

The ImageKit10 VCL is a product created by Newtone Corporation