« Steve Garfield at Fray Cafe, SXSW 2006 | Main | in the 10th inning... game tied »
July 11, 2006
Update to YouTube Greasemonkey script
Just received a patch to the YouTube greasemonkey script I posted a long time ago.
This one should work with the updates YouTube has made to its website.
Right-click to install User Script
Downloaded files must be renamed with a .flv file extension and played back in a Flash Video capable media player.
Posted by jkinberg at July 11, 2006 6:14 PM
Comments
cool idea, but it didnt work for me. i made a script that solved my slightly different issue - not being able to view youtube at all..due to not having flash. linked via my nick above.. cheers..now i can get around to watching the links here ;)
Posted by: carmen at July 16, 2006 12:32 AM
Hi, I have written a bunch of similar scripts and bookmarklets. Check them out if you like: http://1024k.de/bookmarklets/video-bookmarklets.html
Posted by: 1024k.de at August 1, 2006 11:29 AM
Useful script .But doesnot work with Opera .
Here's a small fix to make this script work with Opera .Change the following line from
var t_id = playerDiv.src.match(/t=([^(\&|$)]*)/)[1];
TO
var t_id = playerDiv.getAttribute('src').match(/t=([^(\&|$)]*)/)[1];
Any ideas on how to display the download link right next to the movie .
Posted by: Vinod at September 28, 2006 12:10 AM
They must have updated the site again. The DIV is now called "playerDiv".
Use this instead:
var html = document.getElementById("playerDiv").innerHTML;
Now parse the contents of the variable "html".
Posted by: Surfer at October 11, 2006 6:52 AM
I've been using a web-based YouTube video downloader that doesn't require any plugins at http://www.saveyoutube.com
Posted by: Larry at November 8, 2006 3:55 PM
@Surfer:
but with this script, you don't want the DIV around the player, you want the EMBED that contains the player, which is still named 'movie_player'.
Posted by: Coderjoe at December 5, 2006 4:22 PM
And it broke again. Patch is at:
http://www.eecs.berkeley.edu/~tmaher/pub/youtubetome.user.js
Posted by: Tom at September 2, 2007 3:34 AM
Thanks for the update Tom / the download works fine.
Posted by: DN at September 18, 2007 10:33 PM

