AVPlayer.CloseView
------------------

Closes the video view.

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

MBS( "AVPlayer.CloseView"; AVPlayer ) 

**MBS**( **"AVPlayer.CloseView";** /\* Closes the video view. \*/  
**$AVPlayer**) /\* The reference number of the player.e.g. $Player \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| AVPlayer | The reference number of the player. | $Player |

### Result

Returns OK or error.

### Description

Closes the video view.  
This function checks for a license.

Created 16th March 2020 , last changed 16th March 2020

  
[AVPlayer.AddView](AVPlayerAddView.md) - [AVPlayer.FindPlayers](AVPlayerFindPlayers.md)

[HTML Version](AVPlayerCloseView.shtml)