AVPlayer.SetTag
---------------

Sets the tag value.

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

MBS( "AVPlayer.SetTag"; AVPlayer; Value ) 

**MBS**( **"AVPlayer.SetTag";** /\* Sets the tag value. \*/  
**$AVPlayer**; /\* The reference number of the player.e.g. $Player \*/   
**$Value**) /\* The new tag value.e.g. Get(RecordID) \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| AVPlayer | The reference number of the player. | $Player |
| Value | The new tag value. | Get(RecordID) |

### Result

Returns OK or error.

### Description

Sets the tag value.  
With the tag, we allow you to associate a text with the player, for example a record ID.  
### See also

- [AVPlayer.GetRate](AVPlayerGetRate.md)
- [AVPlayer.GetTag](AVPlayerGetTag.md)
- [AVPlayer.GetTime](AVPlayerGetTime.md)
- [AVPlayer.SetRate](AVPlayerSetRate.md)
- [AVPlayer.SetTime](AVPlayerSetTime.md)

### Release notes

- **Version 10.2**
    - Added [AVPlayer.SetTag](https://www.mbsplugins.eu/AVPlayerSetTag.shtml) and [AVPlayer.GetTag](https://www.mbsplugins.eu/AVPlayerGetTag.shtml) functions.

### 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)
- [MBS FileMaker Plugin, version 10.2pr1](https://www.mbsplugins.de/archive/2020-04-01/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

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

  
[AVPlayer.SetShowsSubtitles](AVPlayerSetShowsSubtitles.md) - [AVPlayer.SetTime](AVPlayerSetTime.md)

[HTML Version](AVPlayerSetTag.shtml)