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

WMFP.GetState

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

Parameters

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

Result

Returns text or error.

Description

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

Examples

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