Create app to playing a youtube channel

Hi, in these days i am trying implement an app to show a youtube channel videos. But onestly i don’t know what to do. Any help it’s good. Thanks.

If you look in this blog post:

http://www.coronalabs.com/blog/2013/10/09/a-look-inside-a-sample-corona-powered-business-app/

It will lead you to a Business sample app.  One of the tabs in there pulls a feed from a YouTube channel and then plays it.  It works better on device than it does in the sim.  It might get you started.

Rob

OK, great!!!it seems useful to me. : ) mmm there is one thing that i cannot realize; in the Business sample app video showed are ones of a channel, but if i would show the ones of one particular playlist??. In the sample app the UTL is: 

http://gdata.youtube.com/feeds/mobile/users/<USER_ID>/uploads?max-results=20&alt=rss&orderby=published&format=1”

ok, but i don’t know what i have to modify in the URL to indicate videos of a specific playlist. I tryed to read documentation and examples of youtube API, but no video is showed… : /

I would suggest trying different things, searching and reading the YouTube feed documents.  That’s what I did to figure out the channel side.

Rob

Yes, yes. it’s what i was doing ;). Thanks for the support.^^

If you look in this blog post:

http://www.coronalabs.com/blog/2013/10/09/a-look-inside-a-sample-corona-powered-business-app/

It will lead you to a Business sample app.  One of the tabs in there pulls a feed from a YouTube channel and then plays it.  It works better on device than it does in the sim.  It might get you started.

Rob

OK, great!!!it seems useful to me. : ) mmm there is one thing that i cannot realize; in the Business sample app video showed are ones of a channel, but if i would show the ones of one particular playlist??. In the sample app the UTL is: 

http://gdata.youtube.com/feeds/mobile/users/<USER_ID>/uploads?max-results=20&alt=rss&orderby=published&format=1”

ok, but i don’t know what i have to modify in the URL to indicate videos of a specific playlist. I tryed to read documentation and examples of youtube API, but no video is showed… : /

I would suggest trying different things, searching and reading the YouTube feed documents.  That’s what I did to figure out the channel side.

Rob

Yes, yes. it’s what i was doing ;). Thanks for the support.^^

I have a problem: in my app, that is a simple videoviewer to view various playlist of a channel on youtube, how can i notify users that new videos have been loaded on the channel?? i don’t think that local notification are the solution… :huh:   

Do you want like push notifications?  Or are you wanting the user, once in your app to see that there are new ones?  How are  you getting the list of videos?

Rob

Yeah, i would something like notifiastions, To get list of videos i am using feed

For push notifications, you are going to have to setup some server somewhere that scrapes the YouTube feed looking for new content, keeps track of what that user has access too and generate the relevant push notifications to the app.   Corona SDK covers the device side.  This is a very server-centric process you’re wanting.

Now if you want to say bold new videos, you just need to keep track of the last time they fetched the list and compare it to the date returned in the feed and then use a bold font or some other indicator that those are new.  That can all be done with in Corona, but if you want something to alert them, set a badge on the Icon, etc. that’s a server side process.

Rob

I have a problem: in my app, that is a simple videoviewer to view various playlist of a channel on youtube, how can i notify users that new videos have been loaded on the channel?? i don’t think that local notification are the solution… :huh:   

Do you want like push notifications?  Or are you wanting the user, once in your app to see that there are new ones?  How are  you getting the list of videos?

Rob

Yeah, i would something like notifiastions, To get list of videos i am using feed

For push notifications, you are going to have to setup some server somewhere that scrapes the YouTube feed looking for new content, keeps track of what that user has access too and generate the relevant push notifications to the app.   Corona SDK covers the device side.  This is a very server-centric process you’re wanting.

Now if you want to say bold new videos, you just need to keep track of the last time they fetched the list and compare it to the date returned in the feed and then use a bold font or some other indicator that those are new.  That can all be done with in Corona, but if you want something to alert them, set a badge on the Icon, etc. that’s a server side process.

Rob