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.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   7.6    Statistic  

AVPlayer.SetRate

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 )

Parameters

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


AVPlayer.SetProgressInterval   -   AVPlayer.SetTime

Feedback: Report problem or ask question.




Links
MBS FileMaker blog