so i continue from this question YouTube: get youtube title+ image+description like facebook` i got this answer:
If you were given the video link http://www.youtube.com/watch?v=NWHfY_lvKIQ,
you could get all the info about the
video by using this link,
http://gdata.youtube.com/feeds/api/videos/NWHfY_lvKIQ.
The data returned contains all the
information about the video, including
title, description, and a thumbnail.
Now how can i get out the info about the video, with a script? I mean, how to do a script that displays description,thumbnail and title from http://gdata.youtube.com/feeds/api/videos/NWHfY_lvKIQ , do i need to download this first and then take out the information by opening in notepad, but thats not how i want it, i want it to show / echo through a script, the description+thumbnail+title, if you understand me correctly, just like what you do when you enter a link in facebook “what are you doing”. Now i only want to show you for this video: http://gdata.youtube.com/feeds/api/videos/NWHfY_lvKIQ, just so i can learn to do the rest
thank you
If you can use jquery, this is what I use to get the title, description, and url. If you can’t use jquery, you can use some other ajax call, or the callback recommended by digitalFresh