1
0
mirror of https://github.com/danbee/jekyll-video-tag synced 2025-03-04 08:59:11 +00:00
jekyll-video-tag/README.md
2014-09-26 10:19:22 +01:00

876 B

Jekyll Video Tag

Jekyll Video Tag is a liquid tag that adds responsive videos to your Jekyll static site.

Installation

Add this line to your application's Gemfile:

gem 'jekyll_video_tag'

And then execute:

$ bundle

Or install it yourself as:

$ gem install jekyll_video_tag

Usage

{% video {embed-url} width={width} height={height} %}

The embed URL is the one that is referenced by the iframe in the video embed code.

Example:

{% video //www.youtube.com/embed/7eP4pw03PCg width=560 height=315 %}

Contributing

  1. Fork it ( https://github.com/danbee/jekyll_video_tag/fork )
  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 a new Pull Request