ssCore.WMVideo.setRate

Set the media playback rate.


Availability:

First available in version 3.0 build 2039.


Input Parameters:

rate - The rate is 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. A playback rate of 0.5 is half the normal speed and 2.0 is twice the normal playback speed.


Output Parameters:

No output parameters.


Asynchronous Mode:

When this method is called asynchronously, a return object containing the output parameters is passed to the specified callback function.

ssCore.WMVideo.setRate( paramsObject [, callbackParamsObject] [, errorParamsObject] );


Synchronous Mode:

When this method is called synchronously, a return object containing the output parameters is returned to the caller immediately.

var returnObject = ssCore.WMVideo.setRate( paramsObject );


Notes:

None.


Examples:

ssCore.WMVideo.setRate({rate:2});