Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.5   8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1   9.2    Statistic  


Opens a movie from a container.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
AVAsset 5.2 Yes No Yes, macOS only No Yes
MBS( "AVAsset.OpenContainer"; Container )   More


Parameter Description Example value
Container The container with the movie file. MyTable::MovieContainer


Returns asset reference number or error.


Opens a movie from a container.
Should work for external and internal containers.
Please allow a second to load video in background asynchronously.
Available in OS X v10.7 and later.

Please call AVAsset.Release later to free object from memory.


Open movie from container:

MBS( "AVAsset.OpenContainer"; MyTable::MyContainer )

Close it later

MBS( "AVAsset.Release"; $asset )

See also

Example Databases

Blog Entries

Created 19th June 2015, last changed 30th May 2017

AVAsset.NaturalWidth   -   AVAsset.OpenFile

Feedback: Report problem or ask question.

MBS Xojo blog