Skip to content

Latest commit

 

History

History
42 lines (25 loc) · 945 Bytes

README.md

File metadata and controls

42 lines (25 loc) · 945 Bytes

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

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Change Log

Version 0.0.4

  1. Fix error from 0.0.3

Version 0.0.3 (yanked)

  1. Added Yahoo video support (partial)

Version 0.0.2

  1. Returns given opts or {} if url is not supported
  2. Partial support for CNBC (no description, no title)