WMFP.Play
---------

Starts playback.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [WMFP](component_WMFP.md) | [10.0](newinversion100.md) | ❌ No | ✅ Yes | ❌ No | ✅ Yes, on Windows | ❌ No |

MBS( "WMFP.Play"; Player ) 

**MBS**( **"WMFP.Play";** /\* Starts playback. \*/  
**$Player**) /\* The reference number for the Windows Media Foundation Player object.e.g. $$Player \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Player | The reference number for the Windows Media Foundation Player object. | $$Player |

### Result

Returns OK or error.

### Description

Starts playback.  
For macOS and iOS use [AVPlayer.Play](AVPlayerPlay.md) instead.  
### Examples

Play video:

 Set Variable \[ $r ; Value: MBS ("WMFP.Play"; $$player ) \]  
### See also

- [AVPlayer.Play](AVPlayerPlay.md)
- [WMFP.Create](WMFPCreate.md)
- [WMFP.Stop](WMFPStop.md)

### Example Databases

- [Win Only/Windows Player](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Win%20Only/Windows%20Player.shtml#2ScriptAnchor_)

### Blog Entries

- [Windows Media Foundation Player for FileMaker](https://www.mbsplugins.de/archive/2019-12-26/Windows_Media_Foundation_Playe/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 25th December 2019 , last changed 18th June 2022

  
[WMFP.Pause](WMFPPause.md) - [WMFP.Release](WMFPRelease.md)

[HTML Version](WMFPPlay.shtml)