Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
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
- AVPlayer.GetMuted
- AVPlayer.GetRate
- AVPlayer.GetTag
- AVPlayer.GetTime
- AVPlayer.Release
- AVPlayer.SetMuted
- AVPlayer.SetTag
- AVPlayer.SetTime
Example Databases
This function checks for a license.
Created 3th February 2017, last changed 3th February 2017
AVPlayer.SetProgressInterval - AVPlayer.SetShowsFrameSteppingButtons
