Set the audio to play in slow motion:
The playbackRate property sets or returns the current playback speed of the audio.
The playbackRate property is supported in all major browsers.
Note: The playbackRate property is not supported in Internet Explorer 9 and earlier versions.
Return the playbackRate property:
Set the playbackRate property:
Value | Description |
---|---|
playbackspeed | Indicates the current playback speed of the audio. Example values:
|
Return Value: | A Number, representing the current playback speed |
---|---|
Default Value: | 1.0 |
Set the audio to play fast: