LinkThumbnailer v2.2.0 Release Notes

  • โž• Adds

    • โž• Add support for og:video
    • โž• Add support for multiple og:video as well

    ๐Ÿ”— LinkThumbnailer will return the following json for example:

      id:         'x7lni3',
      src:        '',
      size:       [640, 360],
      duration:   136,
      provider:   'Dailymotion',
      embed_code: '<iframe src="//" frameborder="0" allowfullscreen="allowfullscreen"></iframe>'

    โž• Add :videos into your config/initializers/link_thumbnailer.rb attributes config in order to start scraping videos.


    config.attributes = [:title, :images, :description, :videos]