Youtube Feed Help

Post here is you are having problems with any of the tutorials.
Post Reply
User avatar
FrederickGeek8
Posts: 148
Joined: Wed Nov 30, 2011 10:31 pm

Youtube Feed Help

Post by FrederickGeek8 »

I want to integrate this into a website except I have video responses that I also want to include. If I use the usual get_videos function, everything work perfectly except when there is a video response, the url will be set to something like:
[syntax=text]http://gdata.youtube.com/feeds/api/videos/6PZ5lz2zxbM[/syntax]
Now if I go to
[syntax=text]http://www.youtube.com/watch?v=6PZ5lz2zxbM[/syntax]
then it is the video that I responded to. My question is, how do I have the link set to my response video??

I also want to add that all the other information is right for the video, just not the url
User avatar
Temor
Posts: 1186
Joined: Thu May 05, 2011 8:04 pm

Re: Youtube Feed Help

Post by Temor »

User avatar
FrederickGeek8
Posts: 148
Joined: Wed Nov 30, 2011 10:31 pm

Re: Youtube Feed Help

Post by FrederickGeek8 »

No. Basically I want to use the Youtube Feed tutorial here, but because I have a video response, for that video, the url is set to the video I responded to.
User avatar
Temor
Posts: 1186
Joined: Thu May 05, 2011 8:04 pm

Re: Youtube Feed Help

Post by Temor »

I have no idea how to fix that, sorry. But during my googling ( it's a word now ) I found an article saying that the 3.0 API is easier to use than the 2.0 version. So if you haven't tried that, I would suggest it.
User avatar
FrederickGeek8
Posts: 148
Joined: Wed Nov 30, 2011 10:31 pm

Re: Youtube Feed Help

Post by FrederickGeek8 »

EDITED (original can be found here)
Now that I have solved how to get the url can I just update the xml with something like:
[syntax=php]$videos[$key]->url = $xml->entry[$key]->link[1]['href'];[/syntax]

EDIT AGAIN: Wow... I feel so good... I got everything figured out!!!! :D
Post Reply