=============== Install the script ===============
Important: If you find compatibility issues, check the bug reporting page.
The script is also available at greasyfork.org.
What's new: added download icon. More in the changelog.
What's new: added download icon. More in the changelog.
The script works in:
- Firefox (install Greasemonkey first. Alternatively, you can install an extension that uses this script)
- Chrome (install the Tampermonkey extension first)
- Opera (install Violent Monkey or Tampermonkey first. Alternatively, you can install an extension which uses the script)
- Safari (install the NinjaKit extension first. Make sure that extensions are enabled in the settings, download the file and double click it. Then you can install the script. More information here.)
Here are the formats you can download using this script (Wikipedia has the full list):
- MP4 360p (384x288, 480x360, 640x360) - all videos are available in this format. Use it if you want to play videos on a mobile phone (iPhone, Android) or to save space.
- MP4 720p (1280x720) - HD format, available for an increasing number of videos. Use this format if you want to play videos on a tablet (iPad, Motorola Xoom, Samsung Galaxy Tab) or a laptop.
MP4 1080p (1920x1080) - Full HD format, available for fewer videos than MP4 720p. Use this format to watch videos on a HD TV or a high resolution monitor.MP4 4K (up to 4096p) - HD format, available for a few videos.- the highest-quality FLV version available: FLV 240p (426x240),
FLV 360p (480x360, 640x360) or FLV 480p (640x480, 854x480). Even if they have a different extension, .flv videos use the H.264 codec, just like .mp4 videos. - 480p and 1080p are no longer available as standalone videos downloaded from youtube.com. YouTube switched to adaptive streams and uses separate files for video and audio, which need to be merged to get a video file. This is more complicated and requires more advanced tools (ffmpeg), so I haven't added them yet.
After downloading videos, you can play them using free applications like:
- VLC (Windows, Mac, Linux / plays both MP4 and FLV videos) - recommended video player
- Windows Media Player 12 for Windows 7 (plays only MP4 videos)
- iTunes and QuickTime Player (Windows, Mac / play only MP4 videos)
- video players for mobile devices (for example, MP4 360p videos are better suited for older smartphones like iPhone 3GS, HTC Desire, Galaxy S/S2; MP4 720p videos are great for more recent smartphones (iPhone 4/4S/5, Galaxy S3), 7-inch tablets and older 10-inch tablets (iPad 1/2), while 1080p videos work better on the latest iPad, Nexus 10 and other high-resolution tablets and smartphones.)
Related extensions: If you use Firefox, you can also install an extension based on this script. There's also an extension for Opera.