change speed of video code example Example: increase video speed document.querySelector('video').playbackRate = 1.5