Discussion Forums  >  Audio, Video, Playing, Recording

Replies: 7    Views: 337

Adam
Aspiring developer
Profile
Posts: 247
Reg: Oct 23, 2010
Southern Califo...
4,470
06/20/14 02:27 AM (9 years ago)

YouTube Playlist HD

Hi guys, Do you know how to make videos play in 720P or 1080P when you watch videos in the YouTube Playlist plugin? Any help would be much appreciated. Thanks, Adam
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
06/20/14 03:56 AM (9 years ago)
I don't have the plugin, but you 'might' be able to work this into the code somehow... http://stackoverflow.com/questions/7582336/force-youtube-embed-to-start-in-720p Naturally higher quality means larger filesize and more bandwidth; make sure most users can accomodate this. Cheers! -- Smug
 
ATRAIN53
Code is Art
Profile
Posts: 1755
Reg: Nov 17, 2011
Chicago
26,450
like
06/20/14 06:55 AM (9 years ago)
First you need to make sure 720 and/or 1080 versions of the video exist, otherwise the plugin might crash or just display a blank screen. Thise formats must exist. If they do, then look at the Das_video_playlist.m file for this method- - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath{ In there you'll see this: videos objectForKey:@"medium" you need to change that to one of these: 1080p = "hd1080" 720p = "hd720" I made this an option in the Control Panel you can select per video for my YouTube Streamer plugin which uses the same HCYouTube Parser that aussiedras' awesome plugin also uses.
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
06/20/14 10:15 AM (9 years ago)
Welcome back, Adam! School must be out :-) Thanks for the tip, Tim! -- Niraj
 
Adam
Aspiring developer
Profile
Posts: 247
Reg: Oct 23, 2010
Southern Califo...
4,470
like
06/20/14 10:15 AM (9 years ago)
Thank you for the help @ATRAIN53. I have your YouTube streamer plugin and I like the feature of being able to change the video quality from the control panel. Hey Smug, I understand the higher bandwidth and everything, but 360P doesn't look too good when you're trying to watch sports highlights. I moved it up to 720P and looks a lot better. Adam
 
Adam
Aspiring developer
Profile
Posts: 247
Reg: Oct 23, 2010
Southern Califo...
4,470
like
06/20/14 10:19 AM (9 years ago)
Hey Niraj, Yes school is finally out. haha Adam
 
aussiedra
Code is Art
Profile
Posts: 431
Reg: Dec 25, 2010
Brisbane, Austr...
8,260
like
06/20/14 09:12 PM (9 years ago)
will add this option in the next update.
 
Adam
Aspiring developer
Profile
Posts: 247
Reg: Oct 23, 2010
Southern Califo...
4,470
like
06/21/14 12:29 AM (9 years ago)
Thank you that would be a very nice feature
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.