Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 8.5   9.0   9.1   9.2   9.3   9.4   9.5   10.0   10.1   10.2    Statistic  


Queries duration.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
WMFP 10.0 No Yes Yes, Windows only No No
MBS( "WMFP.GetDuration"; Player )   More


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


Returns number or error.


Queries duration.
Returns duration of the video in seconds.


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

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

WMFP.GetBalance   -   WMFP.GetIdealVideoSize

Feedback: Report problem or ask question.

MBS Xojo tutorial videos