Component: WMFP 
----------------

The Windows Media Foundation Player can play audio and video independent of a container field.

Instead of using an interactive container field, you can play audio in background or video on your layout without putting a container field there.  
  
See also [AVPlayer](component_AVPlayer.md) functions for MacOS.

| Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|
| [10.0](newinversion100.md "First functions introduced with version 10.0.") / [13.2](newinversion132.md "Newest functions in version 13.2.") | ❌ No | ✅ Yes | ❌ No | 🔶 78%, on Windows | ❌ No |

  
| Item | Details | Server |
|:--|:--|:--|
| [WMFP.Create](WMFPCreate.md)   Creates a new player. | Win only   10.0 | ✅ Server |
| [WMFP.FrameStep](WMFPFrameStep.md)   Steps forward one video frame. | Win only   10.0 | ✅ Server |
| [WMFP.GetAudioBitsPerSample](WMFPGetAudioBitsPerSample.md)   Number of bits per audio sample in an audio media type. | Win only   13.2 | ✅ Server |
| [WMFP.GetAudioChannels](WMFPGetAudioChannels.md)   Number of audio channels in an audio media type. | Win only   13.2 | ✅ Server |
| [WMFP.GetAudioSamplesPerSecond](WMFPGetAudioSamplesPerSecond.md)   Number of audio samples per second in an audio media type. | Win only   13.2 | ✅ Server |
| [WMFP.GetBalance](WMFPGetBalance.md)   Queries current audio balance. | Win only   10.0 | ✅ Server |
| [WMFP.GetDuration](WMFPGetDuration.md)   Queries duration. | Win only   10.0 | ✅ Server |
| [WMFP.GetIdealVideoSize](WMFPGetIdealVideoSize.md)   Queries ideal video size. | Win only   10.0 | ✅ Server |
| [WMFP.GetLoop](WMFPGetLoop.md)   Queries whether to loop. | Win only   10.1 | ❌ Server |
| [WMFP.GetMute](WMFPGetMute.md)   Queries whether the audio is muted. | Win only   10.0 | ✅ Server |
| [WMFP.GetNativeVideoSize](WMFPGetNativeVideoSize.md)   Queries native video size. | Win only   10.0 | ✅ Server |
| [WMFP.GetPosition](WMFPGetPosition.md)   Queries current position. | Win only   10.0 | ✅ Server |
| [WMFP.GetRate](WMFPGetRate.md)   Queries the current playback rate. | Win only   10.0 | ✅ Server |
| [WMFP.GetState](WMFPGetState.md)   Queries state of player. | Win only   10.0 | ✅ Server |
| [WMFP.GetTag](WMFPGetTag.md)   Queries the tag string for this player. | Win only   10.0 | ✅ Server |
| [WMFP.GetVideoFrameRate](WMFPGetVideoFrameRate.md)   Frame rate of a video media type, in frames per second. | Win only   13.2 | ✅ Server |
| [WMFP.GetVisible](WMFPGetVisible.md)   Queries current visibility state. | Win only   10.0 | ❌ Server |
| [WMFP.GetVolume](WMFPGetVolume.md)   Queries the audio volume. | Win only   10.0 | ✅ Server |
| [WMFP.List](WMFPList.md)   Lists all IDs of windows media player objects. | Win only   13.0 | ✅ Server |
| [WMFP.Pause](WMFPPause.md)   Pauses playback. | Win only   10.0 | ✅ Server |
| [WMFP.Play](WMFPPlay.md)   Starts playback. | Win only   10.0 | ✅ Server |
| [WMFP.Release](WMFPRelease.md)   Frees the player. | Win only   10.0 | ✅ Server |
| [WMFP.ReleaseAll](WMFPReleaseAll.md)   Frees all player objects. | Win only   10.5 | ✅ Server |
| [WMFP.Screenshot](WMFPScreenshot.md)   Queries picture from current frame. | Win only   10.1 | ❌ Server |
| [WMFP.SetBalance](WMFPSetBalance.md)   Sets current audio balance. | Win only   10.0 | ✅ Server |
| [WMFP.SetBorder](WMFPSetBorder.md)   Sets the border color. | Win only   10.0 | ❌ Server |
| [WMFP.SetFrame](WMFPSetFrame.md)   Repositions player to given control. | Win only   10.0 | ❌ Server |
| [WMFP.SetLoop](WMFPSetLoop.md)   Sets whether to loop. | Win only   10.1 | ❌ Server |
| [WMFP.SetMute](WMFPSetMute.md)   Sets whether the audio is muted. | Win only   10.0 | ✅ Server |
| [WMFP.SetPlaybackEndedScriptTrigger](WMFPSetPlaybackEndedScriptTrigger.md)   Sets the playback ended script trigger. | Win only   10.0 | ✅ Server |
| [WMFP.SetPosition](WMFPSetPosition.md)   Sets the position. | Win only   10.0 | ✅ Server |
| [WMFP.SetRate](WMFPSetRate.md)   Sets the current playback rate. | Win only   10.0 | ✅ Server |
| [WMFP.SetTag](WMFPSetTag.md)   Sets the tag string for this player. | Win only   10.0 | ✅ Server |
| [WMFP.SetVisible](WMFPSetVisible.md)   Hides or shows the player. | Win only   10.0 | ❌ Server |
| [WMFP.SetVolume](WMFPSetVolume.md)   Sets the audio volume. | Win only   10.0 | ✅ Server |
| [WMFP.Stop](WMFPStop.md)   Stops playback. | Win only   10.0 | ✅ Server |
| [WMFP.UpdateVideo](WMFPUpdateVideo.md)   Updates the video frame. | Win only   10.0 | ❌ Server |

37 functions shown.

These functions require a license (84%).

### Release notes

- **Version 13.2**
    - Added [WMFP.GetAudioBitsPerSample](https://www.mbsplugins.eu/WMFPGetAudioBitsPerSample.shtml), [WMFP.GetAudioChannels](https://www.mbsplugins.eu/WMFPGetAudioChannels.shtml), [WMFP.GetAudioSamplesPerSecond](https://www.mbsplugins.eu/WMFPGetAudioSamplesPerSecond.shtml) and [WMFP.GetVideoFrameRate](https://www.mbsplugins.eu/WMFPGetVideoFrameRate.shtml) functions.
- **Version 13.0**
    - Added [WMFP.List](https://www.mbsplugins.eu/WMFPList.shtml) function.
- **Version 10.5**
    - Added [CFunction.ReleaseAll](https://www.mbsplugins.eu/CFunctionReleaseAll.shtml), [CGImageSource.ReleaseAll](https://www.mbsplugins.eu/CGImageSourceReleaseAll.shtml), [CLibrary.ReleaseAll](https://www.mbsplugins.eu/CLibraryReleaseAll.shtml), [DynaPDF.ReleaseAll](https://www.mbsplugins.eu/DynaPDFReleaseAll.shtml), [ECKey.ReleaseAll](https://www.mbsplugins.eu/ECKeyReleaseAll.shtml), [FSEvents.ReleaseAll](https://www.mbsplugins.eu/FSEventsReleaseAll.shtml), [MarkDown.ReleaseAll](https://www.mbsplugins.eu/MarkDownReleaseAll.shtml), [MenuItem.ReleaseAll](https://www.mbsplugins.eu/MenuItemReleaseAll.shtml), [SendMail.ReleaseAll](https://www.mbsplugins.eu/SendMailReleaseAll.shtml), [Shell.ReleaseAll](https://www.mbsplugins.eu/ShellReleaseAll.shtml), [SmartCard.ReleaseAll](https://www.mbsplugins.eu/SmartCardReleaseAll.shtml), [TouchBar.ReleaseAll](https://www.mbsplugins.eu/TouchBarReleaseAll.shtml), [UserNotification.ReleaseAll](https://www.mbsplugins.eu/UserNotificationReleaseAll.shtml), [WMFP.ReleaseAll](https://www.mbsplugins.eu/WMFPReleaseAll.shtml), [WMIQuery.ReleaseAll](https://www.mbsplugins.eu/WMIQueryReleaseAll.shtml) and [WindowsUserNotification.ReleaseAll](https://www.mbsplugins.eu/WindowsUserNotificationReleaseAll.shtml).
- **Version 10.1**
    - Added [WMFP.GetLoop](https://www.mbsplugins.eu/WMFPGetLoop.shtml) and [WMFP.SetLoop](https://www.mbsplugins.eu/WMFPSetLoop.shtml) functions.
    - Added [WMFP.Screenshot](https://www.mbsplugins.eu/WMFPScreenshot.shtml) function.
- **Version 10.0**
    - Added [WMFP](https://www.mbsplugins.eu/component_WMFP.shtml) functions. Play audio in background or video on layout independent of FileMaker's container fields.

### Blog Entries

- [MBS @ FMTraining.TV - What’s New in the FileMaker MonkeyBread Plug-in - 13.2 Release](https://www.mbsplugins.de/archive/2023-05-21/MBS_@_FMTrainingTV_-_What’s_/monkeybreadsoftware_blog_filemaker)
- [Neues MBS Plugin 13.2 für Claris FileMaker](https://www.mbsplugins.de/archive/2023-05-09/Neues_MBS_Plugin_132_für_Clar/monkeybreadsoftware_blog_filemaker)
- [MBS Plugin 13.2 for Claris FileMaker](https://www.mbsplugins.de/archive/2023-05-09/MBS_Plugin_132_for_Claris_File/monkeybreadsoftware_blog_filemaker)
- [Combined Components with MBS FileMaker Plugin](https://www.mbsplugins.de/archive/2021-03-29/Combined_Components_with_MBS_F/monkeybreadsoftware_blog_filemaker)
- [New in the MBS FileMaker Plugin 10.0](https://www.mbsplugins.de/archive/2020-01-23/New_in_the_MBS_FileMaker_Plugi/monkeybreadsoftware_blog_filemaker)
- [Neues MBS FileMaker Plugin 10.0](https://www.mbsplugins.de/archive/2020-01-14/Neues_MBS_FileMaker_Plugin_100/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin 10.0 - More than 6000 Functions In One Plugin](https://www.mbsplugins.de/archive/2020-01-14/MBS_FileMaker_Plugin_100_-_Mor/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 10.0pr5](https://www.mbsplugins.de/archive/2020-01-02/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)
- [Windows Media Foundation Player for FileMaker](https://www.mbsplugins.de/archive/2019-12-26/Windows_Media_Foundation_Playe/monkeybreadsoftware_blog_filemaker)

### FileMaker Magazin

- [Ausgabe 6/2020, Seite 25](https://filemaker-magazin.de/neuigkeit/4118-Appetithappen-FMM_202006)

### Example Databases

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

[HTML Version](component_WMFP.shtml)