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
Youtube Feed Help
Re: Youtube Feed Help
Is this what you're looking for?
https://developers.google.com/youtube/2 ... _responses
https://developers.google.com/youtube/2 ... _responses
- FrederickGeek8
- Posts: 148
- Joined: Wed Nov 30, 2011 10:31 pm
Re: Youtube Feed Help
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.
Re: Youtube Feed Help
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.
- FrederickGeek8
- Posts: 148
- Joined: Wed Nov 30, 2011 10:31 pm
Re: Youtube Feed Help
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!!!!
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!!!!