Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 8.4   8.5   9.0   9.1   9.2   9.3   9.4   9.5   10.0   10.1    Statistic  

WMFP.SetRate

Sets the current playback rate.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
WMFP 10.0 No Yes Yes, Windows only No No
MBS( "WMFP.SetRate"; Player; Value )   More

Parameters

Parameter Description Example value
Player The reference number for the Windows Media Foundation Player object. $$Player
Value The new rate. 1.0

Result

Returns OK or error.

Description

Sets the current playback rate.
The playback rate is expressed as a ratio of the current rate to the normal rate. For example, 1.0 indicates normal playback, 0.5 indicates half speed, and 2.0 indicates twice speed. Positive values indicate forward playback, and negative values indicate reverse playback.

Examples

Set to double speed:

Set Variable [$r; Value: MBS( "WMFP.SetRate"; $$Player; 2 ) ]

See also

Blog Entries

Created 25th December 2019, last changed 26th December 2019


WMFP.SetPosition   -   WMFP.SetTag

Feedback: Report problem or ask question.




Links
MBS Xojo PDF Plugins