Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 9.5   10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2    Statistic    FMM    Blog  

AVPlayer.SetRate

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

Parameters

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

Result

Returns OK or error.

Description

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.

Examples

Sets rate:

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

See also

Example Databases

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


AVPlayer.SetProgressInterval - AVPlayer.SetShowsFrameSteppingButtons

Feedback: Report problem or ask question.