MoviePlayer.OLEMovieObject

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Read-Only Property (As OLEObject )
OLEObjectValue = aMoviePlayer.OLEMovieObject

New in 2019r2

Supported for all project types and targets.

Returns an OLEObject that you can use to access the MoviePlayer directly. Documentation for this object can be found here: https://msdn.microsoft.com/en-us/library/windows/desktop/dd563945(v=vs.85).aspx

Sample Code

Sets the "stretchToFit" property in the OLEObject to True:

Var obj As OLEObject = MoviePlayer1.OLEMovieObject
obj.Value("stretchToFit") = True