Windows Media Player SDK banner art
PreviousNext

Settings.rate

The rate property specifies or retrieves the current playback rate.

Syntax

player.settings.rate

Possible Values

This property is a read/write Number (double) with a default value of 1.0.

Remarks

This property only applies to video media.

This property acts as a multiplier value that allows you to play the clip at a faster or slower rate. The default value of 1.0 indicates the authored speed. Note that the audio track becomes difficult to understand at rates lower than 0.5 or higher than 1.5. A playback rate of 2 equates to twice the normal playback speed.

Other considerations apply as well, depending on media type:

The Controls.fastForward method changes the value of rate to 5.0, while the Controls.fastReverse method changes rate to –5.0.

See Also

PreviousNext


© 2000-2001 Microsoft Corporation. All rights reserved.