Video playbackRateProperty
Example
Set the video to slow playback:
document.getElementById("myVideo").playbackRate = 0.5;
Try it Yourself »
Definition and Usage
The playbackRate property sets or returns the current playback speed of the video.
Browser Support
![]()
![]()
![]()
![]()
![]()
All major browsers support the playbackRate property.
Note:Internet Explorer 9 and earlier IE versions do not support the playbackRate property.
Syntax
Return the playbackRate property:
videoObject.playbackRate
Set the playbackRate property:
videoObject.playbackRate=playbackspeed
Property Values
| Value | Description |
|---|---|
| playbackspeed |
Indicates the current playback speed of the video. Example values:
|
Technical Details
| Return Value: | A number, representing the current playback speed of the video |
|---|---|
| Default Value: | 1.0 |
More Examples
Example
Set the video to fast playback:
document.getElementById("myVideo").playbackRate =
5;
Try it Yourself »
Video Object Other Extensions