Tushar Gandhi wrote:
> Hi,
> I have one problem. How can I get the video thumbnails like what we will 
> see on youtube on right side?
> Thanks,
> Tushar
> Tushar Gandhi wrote:
>> Thanks Saurabh.
>> It is working fine.

Hi Tushar,

I have tried something like this:

if the youtube url is like 
http://www.youtube.com/v/sM-wckCGIEE&hl=en_US&fs=1&; then split the code 
between v/ and &hl i.e try to fetch sM-wckCGIEE from above url
then paste it in http://i4.ytimg.com/vi/sM-wckCGIEE/default.jpg you will 
get the thumb image.

No idea how to show time.

Regards

Saurabh
-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to