Baseline Widely available
The HTMLMediaElement.defaultPlaybackRate
property indicates the default playback rate for the media.
A double. 1.0
is "normal speed," values lower than 1.0
make the media play slower than normal, higher values make it play faster.
NotSupportedError
DOMException
Thrown if the specified value is not supported.
const obj = document.createElement("video");
console.log(obj.defaultPlaybackRate); // 1
Specifications Browser compatibility See also
HTMLMediaElement
: Interface used to define the HTMLMediaElement.defaultPlaybackRate
propertyRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4