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.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
AVAsset.OpenURL
Opens a movie from URL.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| AVAsset | 5.2 | Yes | No | No | Yes, macOS only | 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
- AVAsset.IsPlayable
- AVAsset.Loaded
- AVAsset.MetadataKeys
- AVAsset.NaturalWidth
- AVAsset.OpenFile
- AVAsset.TimeCodes
- AVAsset.TrackCount
- AVAsset.WaitForLoaded
- AVExport.ExportSession
- AVExport.ExportSessionMerge
Created 19th June 2015, last changed 30th May 2017
AVAsset.OpenFile - AVAsset.PreferredRate
Feedback: Report problem or ask question.
Links
MBS Xojo Plugins