Youtube Sliders snippet

You can execute this piece of code on a page with a video player, and it will add 2 sliders to the bottom left of the page. 1 for the speed, and 1 for the volume of the video.
There is also a checkbox below it. This toggles preservesPitch, when on, it does not preserve the pitch. And thus, when the playback speed is different, the pitch goes along with this new speed.