Large

YouTube Link Title

By kuehlschrank Last update May 10, 2012 — Installed 53,327 times.


Script Summary: Adds video titles, shows previews and embeds on click. Also supported: Vimeo, LiveLeak, Nicovideo

Version: 2012.5.10

Thumb Thumb Thumb

What it does

http://www.youtube.com/watch?v=KT--CsBh5TM will be converted to Know Your Meme: The Rickroll
  • If link text doesn't contain a URL, the video title will be added as tooltip instead.
  • A crossed out link indicates that the video is unavailable (probably blocked in your country).
  • Move cursor over links to see preview images.
If you left-click a video link, the video gets embedded and started.
  • Time offsets like "t=3m21s" are preserved.
  • You can still follow links normally by middle click, Ctrl + click etc.
  • A gray link icon indicates that the video uploader has disabled embedding.
  • Embed modes:
    1. inline (link gets replaced with video)
    2. draggable, non-scrolling in-page popup (default)
    3. real, freely resizable popup window (doesn't close when you leave the page)
Also:
  • Partial support for Nico Nico Douga (no embedding)
  • Full support for Vimeo and LiveLeak
  • Titles are cached to reduce traffic and delay on subsequent visits.

Compatibility

For configuration:
  • Greasemonkey menu → User Script Commands → Set up YouTube Link Title
  • Tampermonkey icon → Set up YouTube Link Title
  • Opera extensions → wrench icon → Preferences

Please note

This script only processes genuine (clickable) HTML links.
Install something like Linkify Plus in order to make text links clickable.

Recent changes

  • 2012-05-10: code cleanup, CSS fixes, replace link text even when URL doesn't start with "http://", option to disable metadata lookup for descriptive links, don't run in reddit toolbar (and frames in general [Scriptish]), invoke JavaScript's strict mode
  • 2012-03-24: more efficient detection of document changes for upcoming Chrome and Firefox versions
  • 2012-03-05: remember state of dimmer switch, preload preview images, half-baked support for Nico Nico Douga (no embedding), brought back GM menu command because memory leak in Scriptish/Greasemoney has been fixed