// HTML Video API: Get/Set Speed (playback rate) const video = document.querySelector('video'); // Get playback rate (speed) console.log( video.playbackRate ); // Expected Output: 1 // Set playback rate (speed) video.playbackRate = 2; // 2x