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.4   8.5   9.0   9.1   9.2   9.3   9.4   9.5   10.0   10.1    Statistic  

WMFP.GetDuration

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

Parameters

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

Result

Returns number or error.

Description

Queries duration.
Returns duration of the video in seconds.

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

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


WMFP.GetBalance   -   WMFP.GetIdealVideoSize

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins