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: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    Statistic    FMM    Blog  

AVAsset.OpenURL

Opens a movie from URL.

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

Parameters

Parameter Description Example
URL The URL of the movie to open. "http://example.test/mysound.mp3"

Result

Returns asset reference number or error.

Description

Opens a movie from URL.
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.

Examples

Opens movie file with URL:

MBS( "AVAsset.OpenURL"; "file:/Users/cs/Desktop/test.mp4" )

Close it later

MBS( "AVAsset.Release"; $asset )

See also

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


AVAsset.OpenFile - AVAsset.PreferredRate

Feedback: Report problem or ask question.




Links
MBS FileMaker tutorial videos

Start Chat