title: how to show thumbnails for vimeo and youtube embedded links in ruby on rails?
body: <p>I have embedded the youtube and vimeo links in my site and trying to show the thumbnail of the video as a link to play while on click.</p>
  
  <p>i tried the  gem "has_vimeo_video" but it only accepts the vimeo videos.So i want to show the thumbnails of both the videos i.e youtube and vimeo.</p>
  
  <p>Please need solution.</p>
  
  <p>Thanks</p>