my site lets users upload the youtube video codes. I am trying to make playlist by showing the thumbnails of the uploaded videos and play the respective video after clicking on specific thumbnail.
i would like to know the method of getting the caption and the thumbnail pictures of those videos which has been uploaded using embed code of youtube?
Edit:
To make question more clear, my users uploads code like one given below:
<object width="640" height="385"><param name="movie" value="http://www.youtube.com/v/-L8DFfSJbqU&hl=en_US&fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/-L8DFfSJbqU&hl=en_US&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="385"></embed></object>
so from those code how can i find the vedio id first then secondly the thumbnail picture?
Thumbnails you can load from video url.
VIDEO URL
THUMBNAIL URL
It takes some time to replicate images to all thumbnails urls (maybe servers) for new videos.
If there is no thumbnail, it returns image with camera (exactly 893 bytes length).
EXAMPLE