Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
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