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.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   8.0   8.1    Statistic  


Sets the playback rate.

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

MBS( "AVPlayer.SetRate"; AVPlayer; Rate )


Parameter Description Example value
AVPlayer The reference number of the player. $Player
Rate The new rate. 1.0


Returns OK or error.


Sets the playback rate.
Default is 1.0.
You can for example set to 0.5 for half speed or 2.0 for double speed.


Sets rate:

Set Variable [$r; Value:MBS("AVPlayer.SetRate"; $$Player; AVPlayer::Rate)]
Set Field [AVPlayer::Rate; MBS("AVPlayer.GetRate"; $$Player)]

See also

Example Databases

AVPlayer.SetProgressInterval   -   AVPlayer.SetTime

Feedback: Report problem or ask question.

MBS Xojo Plugins