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


Sets the playback rate.

Component: AVPlayer
Version: 7.1
Mac OS X: Yes
Windows: No
Server: No
FileMaker Cloud: No

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

AVPlayer.SetMuted   -   AVPlayer.SetTime

Feedback: Report problem or ask question.

MBS Realbasic PDF Plugins - Nachhilfe in Andernach