Player6.Rate (deprecated)
This page documents a feature of the Windows Media Player 6.4 ActiveX control. We recommend that you migrate your content to use the Windows Media Player 9 Series ActiveX control. For more information about the Windows Media Player 9 Series ActiveX control, see the Windows Media Player 9 Series SDK.
This property specifies or retrieves the playback rate of the clip.
Syntax
MediaPlayer.Rate
Possible Values
This property is a read/write Double with a default value of 1.0.
Remarks
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:
Windows Media and video on demand (VOD): Optimal values for this property are from 1 to 10 or from –1 to –10. Values with an absolute magnitude greater than 10 are allowed, but not very meaningful. Audio plays only when the value is 1. A Windows Media or VOD file must be stopped and the AllowScan property must be true before you can set the Rate property. Negative values for this property indicate reversed playback. Video on demand (VOD) and Windows Media files both support the Rate property; however, Windows Media content can use the Rate property only if the following conditions are all true:
- The file is indexed.
- The file is playing from a Microsoft NetShow unicast server (not playing locally).
- The file is not being broadcast.
Other Media Types: This property can range from 0 to 9. Negative values are not allowed. Values less than 1 represent slow motion. Values above 9 are allowed, but not very meaningful.
Requirements
Version: Windows Media Player version 6.4.
Library: Use msdxm.ocx.
Platform: Windows 98 Second Edition or higher.
See Also