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
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
TODO: Write usage instructions here
- 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
- Fix error from 0.0.3
- Added Yahoo video support (partial)
- Returns given
opts
or{}
if url is not supported - Partial support for CNBC (no description, no title)