Automatically play YouTube videos in desired resolution. The video player on the page can be resized to take advantage of the higher resolution.
YouTube quality can be set anywhere from 144p to 8k. If the selected resolution is not available for a given video, the next best quality will be used.
If the option is enabled and YouTube is theater mode, the video box on screen will be resized to the size of the chosen resolution. A custom video player size can also be set to whatever you like, so you can maximize video space for your specific screen. A high resolution video will look better even in a small player due to YouTube being extremely stingy with bit-rates, so a high resolution with a custom size is recommended.
This script also has an option to guarantee the video resolution will be immediately set and not suddenly change at the beginning of the video.
This script is intended only for the YouTube website, and not videos embedded on other websites.