YouTube HD Lite Revived

By HanFox Last update May 24, 2012 — Installed 7,620 times.


Script Summary: Automatically plays the best quality YouTube video format and removes ads, plus several optional features

Version: 2012-03-27

Currently seems to be a bug that doesn't allow auto HD playback just 480p. Looking in to it.

This is an update to joeysazo's version of YouTube HD Lite which is out-of-date and broken. I have got permissions to update this knocking about in the Discussions.

DESCRIPTION

This code was originally derived from the popular YouTube HD Ultimate script. A while ago joeysazo decided to pare it down for his own use, since he only wanted a few of its many features. joeysazo modified some of these features and also improved the video format detection logic to always guarantee the best possible source. joeysazo shared the original script because Ultimate was officially dormant for a long time and the scripts have now diverged considerably. I have taken over the script because the original author has less time on his hands for it and I just find it too useful to give up on it.

The idea of this script is to be light-weight and relatively basic and just make some of the more obvious options that should be on YouTube configurable (such as auto-expand and auto HD). If you want scripts that let you customise to the nth degree have a look at YousableTubeFix or YouTube Auto Buffer & Auto HD & Remove Ads.

Important Note: the higher the video quality, the more bandwidth, memory, and processing power required to play it. As a result, 1080p and even 720p may not play adequately on some systems. This video is a good test because it's available in all formats.

Changelog available here.

CONFIGURABLE FEATURES (see beginning of source code)
All features work on both normal watch video pages and user channels unless otherwise stated.

use1080p - use 1080p source if available
use720p - use 720p source if available and 1080p either disabled or unavailable
wideVideo - automatically use YouTube's built-in wide video mode. Does not work on user channels
wideSize - requires wideVideo to be true - options are "medium" or "large" (the " are mandatory) - set expanded view to 480p or 720p size (this does not effect quality)
hideAnnotations - remove the annotation bubbles people add to their videos
scrollToVideo - auto-scroll the page to the video window to remove visual clutter
autoPlay - automatically starts playing video on normal watch pages. Note that disabling this will not buffer the video
autoPlayChan - automatically starts playing the video on user channels. Note that disabling this will not buffer the video
skipAds - will remove all ads from the video
hideControls - hide the player control bar when the video is playing

HOW TO CHANGE SETTINGS

Firefox: Go to Firefox menu > Add-Ons > User Scripts > Right click "YouTube HD Lite Revived" and click Edit > Change settings where it says // CONFIGURABLE OPTIONS

Chrome: Instead of left clicking "Install" button Right click and select "Save as" > Open the saved 124528.user.js file in Notepad > Change settings where it says // CONFIGURABLE OPTIONS > Save file > Drag and drop file in to Google window and allow to install

TO DO
- Relax :)



These are joeysazo's recommendations from the original script (no guarantees they'll still work!):

To change YouTube's color scheme (e.g. black background) I use my Video Site Color Toggle script. It works well on other video sites too.

To add the option to download videos, I use the Download YouTube Videos script.