webOS Nation Forums >  Homebrew >  webOS patches > [Patch Request] Youtube Download Patch
[Patch Request] Youtube Download Patch

  Reply
 
LinkBack Thread Tools Display Modes
Old 10/26/2009, 11:14 PM   #1 (permalink)
Member
 
franky_402's Avatar
 
Join Date: Aug 2009
Location: Ottawa, IL
Posts: 251
Likes Received: 0
Thanks: 12
Thanked 21 Times in 13 Posts
Default [Patch Request] Youtube Download Patch

Back in the day i had an ipod touch and i had it jailbroken (of course) and had a program called MXTube. Basically it allowed you to watch youtube videos and if you wanted an option to download them to the device for playback later. Wondering if anyone is working on something similar to this or if someone wants to do something like this. I would love to have an app that did this. Im not always in excellent coverage so it would be nice to have some videos from youtube saved to the pre....just a thought

EDIT***

[Moderator Note: Split Patch off to it's own thread.]
Patch is Available Thanks to Jason Robitaille: [Patch] YouTube Download Patch
__________________
i1000+ -> i90 -> i530 -> i730 -> i530 -> i730 -> i560 -> i930 -> i215 -> i860 -> i930 -> i860 -> i870 -> i880 -> i870 -> i850 -> i870 -> i830 -> i9 -> Pre

Last edited by milominderbinder; 12/09/2009 at 10:57 AM. Reason: Moderator Note: Split Patch off to it's own thread.
franky_402 is offline   Reply With Quote
Old 10/27/2009, 08:27 AM   #2 (permalink)
Member
 
Join Date: Oct 2009
Posts: 89
Likes Received: 0
Thanks: 6
Thanked 14 Times in 10 Posts
Default

this sounds like an awesome idea for an app
deltatko1 is offline   Reply With Quote
Old 10/27/2009, 08:44 AM   #3 (permalink)
Member
 
robbskittles's Avatar
 
Join Date: Jul 2009
Posts: 262
Likes Received: 0
Thanks: 779
Thanked 20 Times in 14 Posts
Default

+1...
robbskittles is offline   Reply With Quote
Old 10/27/2009, 09:30 AM   #4 (permalink)
Member
 
QuietStorm21A's Avatar
 
Join Date: Feb 2009
Location: Spring Valley, NY
Posts: 232
Likes Received: 0
Thanks: 79
Thanked 22 Times in 21 Posts
Default

Great idea
__________________

QuietStorm21A is offline   Reply With Quote
Old 10/27/2009, 11:56 AM   #5 (permalink)
Member
 
Join Date: Oct 2009
Posts: 8
Likes Received: 0
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Yeah this would be Great
bam2000 is offline   Reply With Quote
Old 10/27/2009, 05:05 PM   #6 (permalink)
Member
 
Jeffmcc's Avatar
 
Join Date: Sep 2009
Location: ʎɐʍɐ ɹɐɟ 'ɹɐɟ ʎxɐllɐƃ ɐ
Posts: 636
Likes Received: 8
Thanks: 921
Thanked 243 Times in 85 Posts
Default

I like this app......I have a downloader for my flasdrive and I works great......how bout a flash video player for any site....
__________________

NOT "HP webOS"!!!
Jeffmcc is offline   Reply With Quote
Old 10/27/2009, 08:32 PM   #7 (permalink)
Member
 
Veritas06's Avatar
 
Join Date: Oct 2007
Location: Northport, NY
Posts: 610
Likes Received: 4
Thanks: 448
Thanked 133 Times in 89 Posts
Default

I'd also like to see this. Nice to be able to have a few videos saved for viewing later, since we can't bookmark or anything.
__________________
Fix 'Hidden' SMS Conversations
PreThemer Profile
Hide Amazon MP3 Store
Veritas06 is offline   Reply With Quote
Thanked By: deancheryl
Old 10/27/2009, 10:50 PM   #8 (permalink)
Member
 
Join Date: Oct 2009
Posts: 4
Likes Received: 0
Thanks: 0
Thanked 0 Times in 0 Posts
Default

i concur
twan2001 is offline   Reply With Quote
Old 10/28/2009, 02:23 AM   #9 (permalink)
Member
 
fritos1406's Avatar
 
Join Date: Jul 2009
Posts: 1,307
Likes Received: 1
Thanks: 34
Thanked 462 Times in 187 Posts
Default

actueally it be cool to just add a download button on the youtube app that way it download the video like on the handle tap function add a stream or download popup that be awesome
fritos1406 is offline   Reply With Quote
Old 10/28/2009, 03:49 AM   #10 (permalink)
Member
 
Join Date: Sep 2009
Posts: 137
Likes Received: 0
Thanks: 139
Thanked 16 Times in 13 Posts
Default

I would be happy just to log into my account and view my subscriptions.
fgcchevy is offline   Reply With Quote
Thanked By: osirus
Old 10/28/2009, 04:53 AM   #11 (permalink)
Member
 
Freshyz's Avatar
 
Join Date: Jun 2009
Location: Utah
Posts: 926
Likes Received: 1
Thanks: 211
Thanked 114 Times in 92 Posts
Default

Quote:
Originally Posted by Veritas06 View Post
I'd also like to see this. Nice to be able to have a few videos saved for viewing later, since we can't bookmark or anything.
Being able to download definitely would be nice but having a personal history within YouTube itself isn't all that bad.. .

Open YouTube > tap Videos > tap History
OR
Open YouTube > tap in the title area within each video (not on the stillshot video itself) > tap Share and send a link to yourself via email or text.


I agree this app should be more like the full PC version where I'm able to access my account, subscriptions etc.. .

Last edited by Freshyz; 10/28/2009 at 05:07 AM.
Freshyz is offline   Reply With Quote
Thanked By: deancheryl
Old 10/28/2009, 06:34 AM   #12 (permalink)
Member
 
cgardner's Avatar
 
Join Date: Jun 2009
Location: Colchester VT
Posts: 500
Likes Received: 7
Thanks: 62
Thanked 32 Times in 31 Posts
Default

+1 please add! Would be great is anyone could figure this out!
cgardner is offline   Reply With Quote
Old 10/28/2009, 10:20 AM   #13 (permalink)
Member
 
Veritas06's Avatar
 
Join Date: Oct 2007
Location: Northport, NY
Posts: 610
Likes Received: 4
Thanks: 448
Thanked 133 Times in 89 Posts
Default

Quote:
Originally Posted by Freshyz View Post
Being able to download definitely would be nice but having a personal history within YouTube itself isn't all that bad.. .

Open YouTube > tap Videos > tap History
OR
Open YouTube > tap in the title area within each video (not on the stillshot video itself) > tap Share and send a link to yourself via email or text.


I agree this app should be more like the full PC version where I'm able to access my account, subscriptions etc.. .
Thanks, i never saw that before. I usually just go straight to search to find what i'm looking for. Thanks for the tip. Like you said, it is better than nothing.
__________________
Fix 'Hidden' SMS Conversations
PreThemer Profile
Hide Amazon MP3 Store
Veritas06 is offline   Reply With Quote
Old 10/28/2009, 10:41 AM   #14 (permalink)
Homebrew Developer
 
Join Date: Aug 2009
Location: Midlothian, VA
Posts: 1,218
Likes Received: 8
Thanks: 1,046
Thanked 485 Times in 260 Posts
Default

I am currently working on such an app (and have been for two months), but the problem I am experiencing is that the downloadmanager service isn't downloading the files.

Search for YT2V in the forums and you will see my app post.
__________________
Arthur Thornton
webOS Application Engineer, Appstuh
Writer, webOS Nation

My Websites:
http://www.arthurthornton.net
My apps:
Sparrow for Twitter
Voice Memos
Arthur Thornton is offline   Reply With Quote
Old 10/28/2009, 07:26 PM   #15 (permalink)
Member
 
Veritas06's Avatar
 
Join Date: Oct 2007
Location: Northport, NY
Posts: 610
Likes Received: 4
Thanks: 448
Thanked 133 Times in 89 Posts
Default

Good to hear someone is at least trying to work on it.
__________________
Fix 'Hidden' SMS Conversations
PreThemer Profile
Hide Amazon MP3 Store
Veritas06 is offline   Reply With Quote
Old 10/28/2009, 08:56 PM   #16 (permalink)
Member
 
Join Date: Sep 2009
Posts: 141
Likes Received: 0
Thanks: 30
Thanked 41 Times in 22 Posts
Default

Quote:
Originally Posted by arthurthornton View Post
I am currently working on such an app (and have been for two months), but the problem I am experiencing is that the downloadmanager service isn't downloading the files.

Search for YT2V in the forums and you will see my app post.
I added some extra code to the Browser Multi Mod, that allows you to "Orange + Click" and now have a "Download Url" option that downloads any file. Maybe we can get together and figure something out. PM me if you're interested.
daventx is offline   Reply With Quote
Old 10/29/2009, 12:48 AM   #17 (permalink)
Member
 
franky_402's Avatar
 
Join Date: Aug 2009
Location: Ottawa, IL
Posts: 251
Likes Received: 0
Thanks: 12
Thanked 21 Times in 13 Posts
Default

im so glad to see positive posts about this. if this is any help i have code that will allow you to download a youtube video as an mp4 on a desktop if that could be somehow worked into an app maybe this will work.


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('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('IS_HD_AVAILABLE'))fmt='22'}catch(e){}if(!document.getElementById('download-youtube-video')){var%20yt_mp4_path='http://www.youtube.com/get_video?fmt='+fmt+'&video_id='+video_id+'&t='+video_hash;var%20div_embed=document.getElementById('watch-embed-div');if(div_embed){var%20div_download=document.createElement('div');div_download.innerHTML='%3Cbr%20/%3E%20%3Cspan%20id=\'download-youtube-video\'%3E%20%3Ca%20href=\''+yt_mp4_path+'\'%20onclick=\'blur(this);\'%3EDownload%20as%20MP4%3C/a%3E%3C/span%3E';div_embed.appendChild(div_download);}if(navigator.appName!='Microsoft%20Internet%20Explorer'){document.location.href='http://www.youtube.com/get_video?fmt='+fmt+'&video_id='+video_id+'&t='+video_hash}}}void(0);
once you use this code it supplies a link under the description to save file as an mp4 so im hoping this could be worked into an app that when you want to d/l it executes this script and starts downloading inside the app??
__________________
i1000+ -> i90 -> i530 -> i730 -> i530 -> i730 -> i560 -> i930 -> i215 -> i860 -> i930 -> i860 -> i870 -> i880 -> i870 -> i850 -> i870 -> i830 -> i9 -> Pre
franky_402 is offline   Reply With Quote
Old 10/29/2009, 01:33 AM   #18 (permalink)
Legend
 
Jason Robitaille's Avatar
 
Join Date: May 2005
Location: Winnipeg, MB, Canada
Posts: 3,883
Likes Received: 496
Thanks: 801
Thanked 12,956 Times in 1,495 Posts
Default

Quote:
Originally Posted by franky_402 View Post
im so glad to see positive posts about this. if this is any help i have code that will allow you to download a youtube video as an mp4 on a desktop if that could be somehow worked into an app maybe this will work.


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('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('IS_HD_AVAILABLE'))fmt='22'}catch(e){}if(!document.getElementById('download-youtube-video')){var%20yt_mp4_path='http://www.youtube.com/get_video?fmt='+fmt+'&video_id='+video_id+'&t='+video_hash;var%20div_embed=document.getElementById('watch-embed-div');if(div_embed){var%20div_download=document.createElement('div');div_download.innerHTML='%3Cbr%20/%3E%20%3Cspan%20id=\'download-youtube-video\'%3E%20%3Ca%20href=\''+yt_mp4_path+'\'%20onclick=\'blur(this);\'%3EDownload%20as%20MP4%3C/a%3E%3C/span%3E';div_embed.appendChild(div_download);}if(navigator.appName!='Microsoft%20Internet%20Explorer'){document.location.href='http://www.youtube.com/get_video?fmt='+fmt+'&video_id='+video_id+'&t='+video_hash}}}void(0);
once you use this code it supplies a link under the description to save file as an mp4 so im hoping this could be worked into an app that when you want to d/l it executes this script and starts downloading inside the app??
hmm, very nice. I wonder how difficult it'd be to make this as a patch for the youtube app. A download menu option on videos. Sound like a good alternative?
Jason Robitaille is offline   Reply With Quote
Old 10/29/2009, 01:44 AM   #19 (permalink)
Member
 
Freshyz's Avatar
 
Join Date: Jun 2009
Location: Utah
Posts: 926
Likes Received: 1
Thanks: 211
Thanked 114 Times in 92 Posts
Default

Quote:
Originally Posted by Jason Robitaille View Post
hmm, very nice. I wonder how difficult it'd be to make this as a patch for the youtube app. A download menu option on videos. Sound like a good alternative?
If I may be so bold as to throw out a Treky quote...
"Make it so #1."

Freshyz is offline   Reply With Quote
Old 10/29/2009, 03:16 AM   #20 (permalink)
Member
 
fritos1406's Avatar
 
Join Date: Jul 2009
Posts: 1,307
Likes Received: 1
Thanks: 34
Thanked 462 Times in 187 Posts
Default

don't you still need the plugin greasemonkey for the desktop though.?
fritos1406 is offline   Reply With Quote
Reply

 

Thread Tools
Display Modes


LinkBacks (?)
LinkBack to this Thread: http://forums.webosnation.com/webos-patches/211623-patch-request-youtube-download-patch.html
Posted By For Type Date
dBsooner's webOS-Patches Web Portal This thread Refback 05/20/2010 05:30 PM


 


Content Relevant URLs by vBSEO 3.6.0