Greasy Fork is available in English.

Youtube HD Premium

Automcatically switches to your pre-selected resolution. Enables premium when possible.

نووسەر
ElectroKnight22
Daily installs
29
Total installs
4,007
Ratings
14 3 0
وەشان
2024.11.08
Created
2024-06-17
Updated
2024-11-08
مۆڵەت
MIT
Applies to

Description:

This script ensures that all YouTube videos play at the user's preferred quality setting. It supplements YouTube by addressing the issue where the browser version does not have a way for users to save their quality preference. The script monitors whether the video quality can be adjusted and uses the YouTube API to apply the chosen setting. No bloat, doesn't do anything else, just sets quality.

Features:

  • Lets you save a preferred video quality.
  • Sets the video quality to your choice.
  • Uses an UI menu for easy quality selection. [New]
  • Applies Premium bitrate when available. [Requires YouTube Premium]

Notes:

  • Works with YouTube in all languages.
  • Works with YouTube videos that are embedded in other sites.
  • If your chosen quality is unavailable, the next best available option will be used.
  • This script only runs when the video has quality options. Videos such as Shorts do not have quality options and will be ignored by the script.
  • Changing settings cannot be done on embedded sites. Go to the YouTube website when you want to change your quality preferences.
  • Quality preference applied by the script can be temporarily overridden through the native YouTube UI.

Known Compatibility Issues:

  • This script is incompatible with iOS and iPadOS. [Updated Oct/25/2024]

Extra comments from me:

Summary:
This script is modified from YouTube HD by adisib. Since the adisib's script is severely outdated this script was created to fix broken functionalities and improve user experience. At this point, this script is completely different from adisib's with new features and has a seperate objective.

What has been changed:
The way that the Premium bitrate option was written by adisib had a bug that made it so the script would treat the Premium option as unconditionally unavailable. It would also fail to apply premium bitrate if YouTube is set to anything other than English. Fixing those issues was a major goal of this script. All broken or outdated features have been fixed or removed.

What's new:
An UI menu had been added for user preference management. Adisib required users to edit the script directly when choosing their quality preference. This was greaty unintuitive and caused frequent false bug reports to be submitted. My implementation should be hopefully be more convinent, and be compatible with most users' browser + script-manager combinations.