AVPlayer.OpenURL
----------------

Opens the movie with the given URL.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [AVPlayer](component_AVPlayer.md) | [7.1](newinversion71.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |

MBS( "AVPlayer.OpenURL"; URL ) 

**MBS**( **"AVPlayer.OpenURL";** /\* Opens the movie with the given URL. \*/  
**$URL**) /\* The URL of the audio file to open.e.g. "http://example.test/mysound.mp3" \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| URL | The URL of the audio file to open. | "http://example.test/mysound.mp3" |

### Result

Returns player reference number or error.

### Description

Opens the movie with the given URL.  
Returns the player reference number which must be released with [AVPlayer.Release](AVPlayerRelease.md) function.  
### See also

- [AVPlayer.GetRate](AVPlayerGetRate.md)
- [AVPlayer.OpenContainer](AVPlayerOpenContainer.md)
- [AVPlayer.OpenFile](AVPlayerOpenFile.md)
- [AVPlayer.Release](AVPlayerRelease.md)

This function checks for a license.

Created 3th February 2017 , last changed 3th February 2017

  
[AVPlayer.OpenFile](AVPlayerOpenFile.md) - [AVPlayer.Pause](AVPlayerPause.md)

[HTML Version](AVPlayerOpenURL.shtml)