AVPlayer.SetControlsStyle
-------------------------

Sets the controls style.

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

MBS( "AVPlayer.SetControlsStyle"; AVPlayer; Style ) 

**MBS**( **"AVPlayer.SetControlsStyle";** /\* Sets the controls style. \*/  
**$AVPlayer**; /\* The reference number of the player.e.g. $Player \*/   
**$Style**) /\* The new style.  
Can be None, Inline, Floating, Minimal or Default.  
Default is inline.e.g. "None" \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| AVPlayer | The reference number of the player. | $Player |
| Style | The new style.   Can be None, Inline, Floating, Minimal or Default.   Default is inline. | "None" |

### Result

Returns OK or error.

### Description

Sets the controls style.  
### Examples

Set inline controls:

 Set Variable \[ $r ; Value: MBS ( "AVPlayer.SetControlsStyle"; $$Player ; "Inline" ) \]  
### See also

- [AVPlayer.AddView](AVPlayerAddView.md)
- [AVPlayer.GetControlsStyle](AVPlayerGetControlsStyle.md)

### Example Databases

- [Mac and iOS/AVPlayer](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Mac%20and%20iOS/AVPlayer.shtml#8ScriptAnchor_)

### Blog Entries

- [News about the MBS FileMaker Plugin 10.2](https://www.mbsplugins.de/archive/2020-05-19/News_about_the_MBS_FileMaker_P/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 12nd March 2020 , last changed 12nd March 2020

  
[AVPlayer.SetAutoResizingMask](AVPlayerSetAutoResizingMask.md) - [AVPlayer.SetFinishedEvaluate](AVPlayerSetFinishedEvaluate.md)

[HTML Version](AVPlayerSetControlsStyle.shtml)