Search completed in 1.27 seconds.
HTMLMediaElement.playbackRate - Web APIs
e, so a value of 1.0 indicates normal speed. If playbackRate is negative, the media is not played backwards. The audio is muted when the fast forward or slow motion is outside a useful range (for example, Gecko mutes the sound outside the range 0.25 to 5.0). The pitch of the audio is corrected by default and is the same for every speed. Some browsers implement the non-standard HTMLMediaElement.
preservesPitch property to control this. Syntax // video video.playbackRate = 1.5; // audio audio.playbackRate = 1.0; 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) Example var obj = document.createElement('video'); console.log(obj.playbackRate); // Expected Output: 1 Specifications Specif...
HTMLMediaElement - Web APIs
dicates the rate at which the media is being played back. HTMLMediaElement.played Read only Returns a TimeRanges object that contains the ranges of the media source that the browser has played, if any. HTMLMediaElement.preload Is a DOMString that reflects the preload HTML attribute, indicating what data should be preloaded, if any. Possible values are: none, metadata, auto. HTMLMediaElement.
preservesPitch Is a Boolean that determines if the pitch of the sound will be preserved. If set to false, the pitch will adjust to the speed of the audio. This is implemented with prefixes in Firefox (moz
PreservesPitch) and WebKit (webkit
PreservesPitch). HTMLMediaElement.readyState Read only Returns a unsigned short (enumeration) indicating the readiness state of the media. HTMLMediaElement.seekable Read...