The HTMLMediaElement.playbackRate property sets the rate at which the media is being played back.
HTMLMediaElement.playbackRate
MDN Reference