MediaMetaHash
TODO: Given the url to a video (youtube, vimeo, foxnews, foxbusiness), this return a hash for opengraph (og) and twitter cards which can be used with meta-tags gem to create the html tags
Installation
Add this line to your application's Gemfile:
gem 'media_meta_hash'
And then execute:
$ bundle
Or install it yourself as:
$ gem install media_meta_hash
Usage
TODO: Write usage instructions here
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Change Log
Version 0.0.4
- Fix error from 0.0.3
Version 0.0.3 (yanked)
- Added Yahoo video support (partial)
Version 0.0.2
- Returns given
opts
or{}
if url is not supported - Partial support for CNBC (no description, no title)