Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


Queries state of player.

Component Version macOS Windows Linux Server iOS SDK
WMFP 10.0 ❌ No ✅ Yes ❌ No ✅ Yes, on Windows ❌ No
MBS( "WMFP.GetState"; Player )   More


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


Returns text or error.


Queries state of player.
State is Empty, Paused, Playing, Stopped or Shutdown.


Show position, duration and state:

Show Custom Dialog [ "Position" ; Round(MBS("WMFP.GetPosition"; $$player);1) &
" of " &
Round(MBS("WMFP.GetDuration"; $$player);1) &
¶ &
MBS("WMFP.GetState"; $$player) ]

See also

Example Databases

Blog Entries

This function checks for a license.

Created 25th December 2019, last changed 25th December 2019

WMFP.GetRate - WMFP.GetTag

💬 Ask a question or report a problem