If you use YouTube to stream your videos, it will be a good idea to show users some thumbnail of the videos, so that there interest might increased. Fortunately YouTube provide five different thumbnails of each video. You really dot not have to store it on your server just call it directly from YouTube, all you need is your video id and the following YouTube Video Thumbnail URL.
http://img.youtube.com/vi/YouTube-Video-ID-HERE/0.jpg http://img.youtube.com/vi/YouTube-Video-ID-HERE/1.jpg http://img.youtube.com/vi/YouTube-Video-ID-HERE/2.jpg http://img.youtube.com/vi/YouTube-Video-ID-HERE/3.jpg http://img.youtube.com/vi/YouTube-Video-ID-HERE/hqdefault.jpgsimple isn't it!
0 comments:
Post a Comment