A simple auto-HD script, which does not re-format the page as YouTube Center does. Very fast.
Features:
- Sets the resolution of all videos on YouTube to the resolution set in the script.
- Disables DASH playback
- Disables autoplay on video pages.
- Pauses videos on channel/user pages.
- Pauses videos if a video is started on an inactive tab.
- Converts links in comments to open in a new tab
All of these features can be disabled with some console commands. Go to a YouTube page, open the console, and settings are stored in an HDOSettings object. It has properties:
HD
(true/false)
VideoAutoPlay
(true/false)
DASHPlayback
(true/false)
ChannelAutoPlay
(true/false)
PauseInvisible
(true/false)
HighestQuality
(number from 1 to 9)
CommentNewTab
(true/false)
Change these as you like, and run SaveHDOSettings()
in the console to save your settings. See screenshot for help.
For example, this code will set the desired quality, enable autoplay and save changes:
HDOSettings.HighestQuality = 5
HDOSettings.VideoAutoPlay = true
SaveHDOSettings()
Quality levels
Default is 1080p (6).
Set HighestQuality
to a number between 1 and 9 accordingly:
- 144p
- 240p
- 360p
- 480p
- 720p
- 1080p
- 1440p
- 4K (2160p)
- 4K for HTML5 video player