RSS feed of ChromeFans.org RSS   Contact  

Join Chrome Forum

Chat news, tips, themes/plugins

Free Chrome Theme

Free download Chrome themes

Subscribe RSS Feed

RSS Feed of ChromeFans.org

Google Chrome Bookmarklet: Download YouTube Videos in Google Chrome (JavaScript Plug-in)


http://www.chromefans.org Oct 05, 2008 07:13 PDT

Posted by Andrew.

If you want to download YouTube Video/Movie in Google Chrome, you can try following Bookmarklet (Javascript plugins), it will instantly get the video URL from the webpage even if it's not yet finished loading. No Website or software is needed. It's a bookmarklet(a bookmark containing JavaScript) in practice, you can also use it in FireFox, Safari or Inetnet Explorer.

Download Youtube Videos/Movies in Google Chrome

Install Google Chrome Plug-in: Download YouTube Video/Movie in Google Chrome

Install this Javascript Plug-in is very easy, please do following steps:

  1. Make sure your Google Chrome browser always shows the Bookmarks bar(Click menu: Tools -> Always show bookmarks bar).
  2. Right click on the bookmarks bar, and then select Add Page.
  3. Install Javascript Plugin: download Youtube Video in Google Chrome

  4. In the Name field, enter "Download YouTube Video" or something you will remember, then for the URL field paste:
  5. javascript:window.location.href = 'http://youtube.com/get_video?video_id=' + swfArgs['video_id']+ "&l=" + swfArgs['l'] + "&sk=" + swfArgs['sk'] + '&fmt_map' + swfArgs['fmt_map'] + '&t=' + swfArgs['t'];

    Install Javascript Plugin: download Youtube Video in Google Chrome, add to bookmarks bar

  6. Click OK button.

How to use Plug-in to download YouTube Video in Google Chrome

Now, the Javascript plugin is installed in your Google Chrome. Go to the YouTube video you want to download, when it starts playing click your "Download YouTube Video" bookmark and you will see the .flv file start to download in Google Chrome's download status bar.

Download Youtube Video in Google Chrome

Other resources of Google Chromes Plugins

Tags: Google Chrome | Google Chrome Plugin | Javascript Plugin | Bookmarklet | Download Video | YouTube Video



#1  TubeZoid Video Downloader posted on Oct 05, 2008 09:58 PDT
wow, cool hack and easy to implement .. thanks

#2  mojo posted on Oct 06, 2008 15:13 PDT
How do you view the file after its downloaded. What viewer or codec do you need?

#3  Nathan posted on Oct 10, 2008 15:51 PDT
You can use this file to download the .flv file off youtube without using chrome.
Quote:
http://www.download.com/YouTube-Downloader/3000-2071_4-10647340.html?tag=mncol&cdlPid=10801797

However, if you prefer to use chrome then i think you just need a file extension converter.

#4  shatters posted on Oct 15, 2008 22:58 PDT
Very usefull plugin. Guys to view the downloaded files either download an .flv player, or KV media codec to view from your windows media player.

#5  magnum posted on Oct 15, 2008 22:59 PDT
Simple awesome plugin, very simple yet effective.

#6  cold posted on Oct 24, 2008 14:44 PDT
Thanks !

#7  Lawrence.Albert posted on Oct 24, 2008 21:22 PDT
hello kindly include the source of the article. Thanks in Advance!
http://unlockforus.blogspot.com/2008/09/directly-download-youtube-videos-in.html

#8  killingthemonkey posted on Oct 29, 2008 07:40 PDT
I use it and it just goes back to the list of videos. It's like I hit the back button.

#9  poormann117 posted on Oct 29, 2008 20:35 PDT
hey a great place to get .flv plugin for media player is http://www.playflv.com/

#10  DDDDDDDDD posted on Nov 08, 2008 15:43 PST
une haxorz,

#11  AJ posted on Nov 13, 2008 02:16 PST
cool! thnx!

#12  Fara Deena posted on Nov 16, 2008 03:57 PST
yes....TQ guys...

#13  chootrain29 posted on Nov 17, 2008 03:21 PST
Hi, I can't seem to get the application working.

I copy the text into the URL slot but when i click it there is no response when i am on a youtube video.

this is what i pasted into the URL section...

javascript:window.location.href = 'http://youtube.com/get_video?video_id=' + swfArgs['video_id']+ "&l=" + swfArgs['l'] + "&sk=" + swfArgs['sk'] + '&fmt_map' + swfArgs['fmt_map'] + '&t=' + swfArgs['t'];

Am I missing any spaces or what-not.
Any assistance would be greatly appreciated.

#14  chootrain29 posted on Nov 17, 2008 03:55 PST
Sorry, I got it working now...

#15  Seasickers posted on Dec 14, 2008 03:23 PST
How to convert youtube saved video to another format like .wmv or else?

#16  vickram posted on Dec 15, 2008 16:05 PST
hai to convert youtube flv files to another formats you have to download softwares like <TOTAL VIDEO CONVERTER>,<SPEEDBIT VIDEO CONVERTER>,,,,,ETC

#17  zaccck posted on Dec 25, 2008 21:35 PST
realllly works..thnx mate

#18  rookie23.carlo posted on Jan 30, 2009 03:14 PST
Wow Thanks it really helped me! nice alternative for the orbit get video bar! ^^

#19  Lex1 posted on Feb 01, 2009 08:04 PST
Another plugin "Get Flash", what supports many services: youtube.com, video.google.com, metacafe.com, dailymotion.com and any sites with direct links to flash-video ( rutube.ru, break.com, current.com) .
I will try to insert the code ( if it does not work, get it on http://lexi.ucoz.ru/index/0-4#bookmarklets ) :

Quote:
javascript:( function( ) { var getVideo=function( flashvars,src) { var getLink=function( s) { var rez=s.match( /[^\s\x22=&?]+\.[^\s\x22=&?\/]*( flv|mp4) /i) ; return rez?rez[0]:''} ; var getQuery=function( s,q) { var rez=s.match( new RegExp( '[&?]'+q+'=( [^&]+) ') ) ; return rez?rez[1]:''} ; var flv=decodeURIComponent( flashvars) ; var url=location.href; var q=''; if( url.indexOf( 'youtube.com/watch?') !=-1&&( q=getQuery( flv,' video_id' ) ) ) return' http://www.youtube.com/get_video?video_id='+q+'&t='+getQuery( flv,'t') +'&fmt=18'; if( url.indexOf( 'video.google.com/videoplay?') !=-1&&( q=getQuery( src,'videoUrl') ) ) return decodeURIComponent( q) ;if( url.indexOf( 'metacafe.com/watch/') !=-1&&( q=getQuery( flv,'mediaURL') ) ) return q+'?__gda__='+getQuery( flv,'gdaKey') ;if( url.indexOf( 'dailymotion.com/') !=-1&&( q=getQuery( flv,'video') ) ) return q.match( /[^@]+/) ;return getLink( flv) ||decodeURIComponent( getLink( src) ) } ;var createLink=function( l,t) { var oLnk=document.createElement( 'a') ;oLnk.setAttribute( 'href',l) ;oLnk.appendChild( document.createTextNode( t) ) ;oLnk.setAttribute( 'style','display:inline;font:14px Times New Roman;text-decoration:underline;text-transform:none;') ;return oLnk} ;var showLink=function( oEle,oSrc,oFlv) { if( !oEle||!oSrc) return;var cName='ujs_downlink';var p=oEle.previousSibling;if( p&&p.className==cName) { oEle.parentNode.removeChild( p) ;return} ;var oDiv=document.createElement( 'div') ;oDiv.setAttribute( 'style','display:block;position:static;float:none;margin:0;padding:0;z-index:999;') ;oDiv.className=cName;oDiv.appendChild( createLink( oSrc,'Download') ) ;var v=getVideo( oFlv,oSrc) ;if( v) { oDiv.appendChild( document.createTextNode( ' ( ') ) ;oDiv.appendChild( createLink( v,'Video') ) ;oDiv.appendChild( document.createTextNode( ') ') ) } ;oEle.parentNode.insertBefore( oDiv,oEle) } ;var getParam=function( e,n) { var v='';var r=new RegExp( '^( '+n+') $','i') ;var param=e.getElementsByTagName( 'param') ;for( var i=0,p;p=param[i];i++) { if( p.getAttribute( 'name') .match( r) ) { v=p.getAttribute( 'value') ;break} } return v} ;var searchEmbed=function( w) { if( !w) return;var obj=w.document.getElementsByTagName( 'object') ;for( var i=0,oi;oi=obj[i];i++) { showLink( oi,oi.getAttribute( 'data') ||oi.getAttribute( 'src') ||getParam( oi,'movie|data|src|code|filename|url') ||( oi.getElementsByTagName( 'embed') .length&&oi.getElementsByTagName( 'embed') [0].getAttribute( 'src') ) ,getParam( oi,'flashvars') ) } ;var em=w.document.getElementsByTagName( 'embed') ;for( var i=0,ei;ei=em[i];i++) { if( ei.parentNode.tagName.toLowerCase( ) !='object') showLink( ei,ei.getAttribute( 'src') ,ei.getAttribute( 'flashvars') ) } ;for( var j=0,f;f=w.frames[j];j++) { try{ arguments.callee( f) } catch( e) { } } } ;searchEmbed( window.top) } ) ( )

#20  elver garcia posted on Feb 28, 2009 11:20 PST
muy chingon y sencillo de usar...increible

#21  rusdiono m posted on Mar 19, 2009 01:50 PDT
nice, simple and cool plug in.. thanks.

#22  JJuoo posted on Mar 24, 2009 16:56 PDT
coooollll!!!

#23  NumisNati posted on Mar 31, 2009 07:29 PDT
Gracias!

#24  youtube video downloader posted on Apr 03, 2009 09:25 PDT
thanxz a very much for thiz
use full publication

thtz help me to find out easy way how to download a video from yt

CHEERS!!!

love
AKHTAR

#25  wendra posted on Apr 05, 2009 00:26 PDT
Nice, also try this one http://arinegara.wordpress.com/

#26  Ferry posted on Apr 07, 2009 20:09 PDT
thanx u so much...
cool & very easy..

2 thumbs up..

#27  Krish posted on Apr 08, 2009 03:24 PDT
Sooper Cool - Thx :)

#28  kunal posted on Apr 11, 2009 10:48 PDT
awesome dude thanx a lot

#29  shahrie posted on Apr 19, 2009 07:28 PDT
that works so great..
plus, you can download it faster with your download accelerator (ie. mass downloader, etc.) this way: when google chrome dowloading video, press setting and press downloads or just simply press ctrl+j. cancel the downloading, right click the downloading, choose copy link address. then paste it to your download accelerator. but dont forget to rename the downloaded file to .flv to play it.

#30  sam posted on Apr 24, 2009 03:33 PDT
It work great.. Thanks

#31  Asim posted on May 01, 2009 08:38 PDT
it works. really good plug in. Google Chrome Rockxxx

#32  Cameron posted on May 07, 2009 13:56 PDT
Can it download it in a different format, like avi?

#33  Vanz posted on May 08, 2009 21:22 PDT
Um... can i download videos from myspace with the same method? or do really need a special program for that?

#34  jonathan posted on May 16, 2009 09:35 PDT
ohh . very effective and efficient Google done ! congratulation.

#35  Arsenal News posted on May 22, 2009 06:08 PDT
thanks, really cool!

#36  p posted on May 30, 2009 00:38 PDT
thx

#37  doesnt work posted on Jun 01, 2009 00:42 PDT
it doesnt work my version is 2.0.172.28

#38  PV posted on Jun 06, 2009 03:43 PDT
Hi, Please help, after using this script, the downloaded video has text showing the bit rate and other details covering half of the frame. How can I get rid of the text
"audio track
input....
output...
etc

Please help
thanks in advance

#39  SubSonic posted on Jun 07, 2009 13:12 PDT
Thanks so much!

Was using VideoCacheView but it stopped working after Chrome v2.

(#37: Working for me on v2.0.172.30)

#40  Phil posted on Jun 15, 2009 10:25 PDT
i can't seem to get it to download high quality and high definition videos. is there any way i could do this?

#41  Chris posted on Jun 30, 2009 09:51 PDT
Thank you.............

But i found "Zillatube" program download video quickly, and also easy to play those videos too.

found it at http://www.zillatube.com
====================================== :)

Total Comments: 42, Show: 41

Leave your comment
If you want to leave your comment on this article, simply fill out the next form:
Name: * Requirement
E-mail: Optional (won't be published)
Website / Blog: Optional
Are you a human? For anti spammer, please calculate following expression:
1 + 12 = * Requirement
Comment:
* Requirement
You can use these tags:
[b] Text [/b]: Bold text
[quote] Text [/quote]: Quote text