I wasn't a big YouTube fan until I bought my iPhone... Opps.
Anyways I was looking through unanswered questions on EE and found someone asking questions about generating a thumbnail image for YouTube videos. I was kind of amazed that no one had answered it so I jumped on Google and took a look at their API docs at http://code.google.com/apis/youtube/developers_guide_protocol.html and found that even if you don't want to use their "GData" feeds you can get a Thumbnail for a video if you have the unique identifier for the video (url.v).
Its a simple matter of putting the unique identifier into the following link template http://img.youtube.com/vi/#url.v#/1.jpg
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment