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: 'http://www.dailymotion.com/video/x7lni3', size: [640, 360], duration: 136, provider: 'Dailymotion', embed_code: '<iframe src="//www.dailymotion.com/embed/video/x7lni3" frameborder="0" allowfullscreen="allowfullscreen"></iframe>' }
โ Add
:videos
into yourconfig/initializers/link_thumbnailer.rb
attributes
config in order to start scraping videos.Ex:
config.attributes = [:title, :images, :description, :videos]
- โ Add support for