VideoCTRL ActiveX Help |
PlayOpen Method
Syntax
lSuccess = object.PlayOpenFile( sFileName,
[optional bStretch], [optional bAspectRatio], [optional lLeft],[optional
lTop], [optional lWidth], [optional lHeight]
)
Parameters
Returns
lSuccess = long, error number, 0
= no error.
Playback performance is largely down to the spec of system, The
internal working are based around the (MCI) used by Windows Media Player so
you can expect similar results.
Additional Notes
Omiting the bStretch and bAspectRatio
or setting both to false will leave the video window at
the original size of the source.
After this method has been set,
you are able to get the height and width of the source by methods
PlayGetHeight and PlayGetWidth respectively.
The size and postion of the video window can be changed also by using method PlaySetWindow.
See Also
PlayStart - Starts video playback
PlayStop - Stops video Playback
PlayClose - Close opened video file.
PlayGetStatus - Get current status of playback control.
HELP! If you have any further questions please visit the VideoCtrl Forum - http://www.datadevelopment.co.uk/forum