YouTube thumbnail animator

By Henrik N Last update Feb 16, 2007 — Installed 2,431 times.

Archived Comments (locked)

in
Subscribe to Archived Comments 4 posts, 3 voices



Jesse Andrews Admin

The following is an archive of comments made before threaded discussions was implemented (November 16th, 2008)

 
Henrik N Script's Author

The script is updated per my comment below.

Jeremy: definitely possible, but not something I'd use, so not something I'll code. For whoever wants to do this, though, it should just be a matter of adding appropriate mouseover and mouseout events, creating intervals on mouseover and stopping them (and resetting the thumbnail?) on mouseout.

 
JeremyT Scriptwright

Could there possible be a way to make it so when you only hover over the images or the video link that it would animate? Having a whole page of animated images make my eyes angry :-P

 
Henrik N Script's Author

Userscripts.org is a bit broken right now and won't let me update the script. Replace
var thumbs_xpath = "//img[contains(@src, '2.jpg')]";
with
var thumbs_xpath = "//img[starts-with(@class, 'vimg')]";
to make the animation work for "Related videos" that were not visible (scrolled to) on page load.

Doesn't work with "More from this user" or "Playlists" yet.

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel