'How to speed up youtube's videos more than 16x with javascript?

I use document.getElementsByClassName("video-stream html5-main-video")[0].playbackRate = x; and x from 0 to 16. There is an error if it bigger than 16

VM308:1 Uncaught DOMException: Failed to set the 'playbackRate' property on 'HTMLMediaElement': The provided playback rate (17) is not in the supported playback range.
    at <anonymous>:1:82

So, how to speed it up more than 16x? Thanks



Solution 1:[1]

VM308:1 Uncaught DOMException: Failed to set the 'playbackRate' property on 'HTMLMediaElement': The provided playback rate (17) is not in the supported playback range.
    at <anonymous>:1:82

The provided playback rate (17) is not in the supported playback range.

you cant have playback more than 16x

0.0625< video speed < 16

anyways, why do you want a very high playback rate tho?

Solution 2:[2]

No after 16x its not possible on the web browser itself. But you can download the video and use a media player that speeds up the video more than 16x.

For making the video speed upto 16x, the steps to do that are :- You can just place the cursor over the youtube video that you are watching and you can just scroll up from your mouse until the video speed becomes 16x.

Enjoy :)

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Coder Here
Solution 2 Sarvesh Kumar