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