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. Only standard media format filters are installed and some codecs may not be supported. To open files of these formats, the require codec will have to be imported.

 

The ImageKit9 VCL is a product created by Newtone Corporation