Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 9.5   10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2    Statistic    FMM    Blog  

AVAsset.IsPlayable

Checks whether the asset, or its URL, can be played.

Component Version macOS Windows Linux Server iOS SDK
AVAsset 5.2 ✅ Yes ❌ No ❌ No ✅ Yes, on macOS ✅ Yes
MBS( "AVAsset.IsPlayable"; Asset )   More

Parameters

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

Result

Returns 1, 0 or error.

Description

Checks whether the asset, or its URL, can be played.

Examples

Checks play status:

MBS( "AVAsset.IsPlayable"; $asset)

See also

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


AVAsset.IsExportable - AVAsset.IsReadable

Feedback: Report problem or ask question.