Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
13.5
Statistic
FMM
Blog
Sets the expression to evaluate on progress.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
AVPlayer | 7.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |
Parameter | Description | Example |
---|---|---|
AVPlayer | The reference number of the player. | $Player |
Expression | The expression to evaluate. Can be in local language of FileMaker Pro or english. For Server must always be in english. |
Returns OK or error.
Play and define progress expression:
Set Variable [ $r ; Value: MBS("AVPlayer.SetProgressEvaluate"; $$Player; "MBS(\"FM.ExecuteFileSQL\"; \"AVPlayer.fmp12\"; \"UPDATE \\\"AVPlayer\\\" SET \\\"Position\\\"=?\"; 9; 13; $$Time$$ / 1000)") ]
Set Variable [ $r ; Value: MBS("AVPlayer.SetProgressInterval"; $$Player; 1) ]
Set Variable [ $r ; Value: MBS("AVPlayer.Play"; $$Player) ]
This function is free to use.
Created 7th September 2017, last changed 4th April 2018