Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4    Statistic  

AVPlayer.SetProgressInterval

Sets the progress interval.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
AVPlayer 7.4 Yes No No No Yes

MBS( "AVPlayer.SetProgressInterval"; AVPlayer; Time )

Parameters

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

Result

Returns OK or error.

Description

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

Examples

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


AVPlayer.SetProgressEvaluate   -   AVPlayer.SetRate

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins