HTMLMediaElement: playbackRate property - Web APIs | MDN
Value
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. (Default: 1.0)
Examples
js
const obj = document.createElement("video");
console.log(obj.playbackRate); // Expected Output: 1
Specifications
| Specification |
|---|
| HTML # dom-media-playbackrate-dev |
Browser compatibility
See also
HTMLMediaElement: Interface used to define theHTMLMediaElement.playbackRateproperty- Browser bug reports to support negative
playbackRatein Firefox and Blink (Chrome, etc.) - The Web Hypertext Application Technology Working Group (WHATWG) issue to require support for negative
playbackRate