Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4    Statistic  

AVAsset.OpenURL

Opens a movie from URL.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
AVAsset 5.2 Yes No Yes, macOS only No Yes

MBS( "AVAsset.OpenURL"; URL )

Parameters

Parameter Description Example value
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


AVAsset.OpenFile   -   AVAsset.PreferredRate

Feedback: Report problem or ask question.




Links
MBS Xojo blog