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.4   7.5   8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1    Statistic  


Queries the natural width of the video.

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


Parameter Description Example value
Asset The reference number of the asset. Please use AVAsset.OpenContainer, AVAsset.OpenFile or AVAsset.OpenURL function to get asset reference. $asset


Returns value or error.


Queries the natural width of the video.


Query size of video:

MBS( "AVAsset.NaturalWidth"; $asset) & "x" & MBS( "AVAsset.NaturalHeight"; $asset)

See also

Created 19th June 2015, last changed 19th June 2015

AVAsset.NaturalHeight   -   AVAsset.OpenContainer

Feedback: Report problem or ask question.

MBS Xojo Plugins