saving HD off youtube

Jun 22, 2009 22:11

Hey guys, quick tip especially useful for vidders looking to use source only available on Youtube -- if you find a video on youtube that offers the HD option, you can save the HD quality stream with this handy bookmarklet:

ETA!!! I have updated the bookmarklet based on new code found somewhere on the internets. It now will automatically save the best version of the video available on YouTube -- ie, HD if it's there, otherwise HQ.

1. Copy this code:

javascript:var%20video_id=null;var%20video_hash=null;var%20video_player=document.getElementById('movie_player');if(video_player){var%20flash_variables=video_player.attributes.getNamedItem('flashvars');if(flash_variables){var%20flash_values=flash_variables.value;if(flash_values){var%20video_id_match=flash_values.match(/[^a-z]video_id=([^(\&|$)]*)/);if(video_id_match!=null)video_id=video_id_match[1];var%20video_hash_match=flash_values.match(/[^a-z]t=([^(\&|$)]*)/);if(video_hash_match!=null)video_hash=video_hash_match[1]}}}if(video_id==null||video_hash==null){var%20args=null;try{args=yt.getConfig('CFG_SWF_ARGS')}catch(e){}if(args){video_id=args['video_id'];video_hash=args['t']}}if(video_id!=null&&video_hash!=null){var%20fmt='18';try{if(yt.getConfig('CFG_IS_HD_AVAILABLE'))fmt='22'}catch(e){}document.location.href='http://www.youtube.com/get_video?fmt='+fmt+'&video_id='+video_id+'&t='+video_hash}

2. Make a bookmark in your bookmarks toolbar folder (in Firefox; probably something similar in other browsers) and paste the code into the "location" option.



Right-click on Firefox bookmarks toolbar to create new bookmark:


Put in a name and paste in the code above for the location:


Go to an HD Youtube video and try it out:


And here is a convenient test case for you to try it on that is totally not Adam Lambert walking around in skintight glitter pants and gold bodypaint or anything.

In other news, Adam Lambert is on twitter now, but more importantly, so am I (well, I already had the pro one but now I have a fan one too) -- who else is out there? I am thinking maybe I will start tweeting bits of in-progress stories or something.

Okay, and now I am off to pound out some wordcount, before I get to continue work on my first cliche bingo story. \o/

american idol, adam lambert, tech, vidding tech

Previous post Next post
Up