HTML DOM Video defaultPlaybackRate property
Examples
The video is set to the default low speed playback:
document.getElementById ( "myVideo") defaultPlaybackRate = 0.5.;
try it"
Definition and Usage
defaultPlaybackRate property sets or returns the audio / video default playback speed.
Setting this property will only change the default playback speed, instead of the current. To change the current playback speed, please use playbackRate property.
Browser Support
With the exception of Safari browser, other browsers support defaultPlaybackRate property.
Note: Internet Explorer 8 and earlier versions do not support IE defaultPlaybackRate property.
grammar
Back defaultPlaybackRate properties:
videoObject .defaultPlaybackRate
Setting defaultPlaybackRate properties:
videoObject .defaultPlaybackRate = number
Property Value
value | description |
---|---|
playbackspeed | Instruct the audio / video default playback speed. Example value:
|
technical details
return value: | ,, Digital value represents the default playback speed |
---|---|
Defaults: | 1.0 |
More examples
Examples
The default setting for quick video playback:
document.getElementById ( "myVideo") defaultPlaybackRate = 5.;
try it"
Video Object