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


Sets the progress interval.

Component Version macOS Windows Linux Server iOS SDK
AVPlayer 7.4 ✅ Yes ❌ No ❌ No ❌ No ✅ Yes
MBS( "AVPlayer.SetProgressInterval"; AVPlayer; Time )   More


Parameter Description Example
AVPlayer The reference number of the player. $Player
Time The time interval to use. 5


Returns OK or error.


Sets the progress interval.
Using interval < 1.0 can be a problem because FileMaker would evaluate only and not do anything else.


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) ]

See also

Release notes

Blog Entries

This function is free to use.

Created 8th September 2017, last changed 8th September 2017

AVPlayer.SetProgressEvaluate - AVPlayer.SetRate