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


Sets the playback rate.

Component Version macOS Windows Linux Server iOS SDK
AVPlayer 7.1 ✅ Yes ❌ No ❌ No ❌ No ✅ Yes
MBS( "AVPlayer.SetRate"; AVPlayer; Rate )   More


Parameter Description Example
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

This function checks for a license.

Created 3th February 2017, last changed 3th February 2017

AVPlayer.SetProgressInterval - AVPlayer.SetShowsFrameSteppingButtons