1
0
mirror of https://github.com/danbee/jekyll-video-tag synced 2025-03-04 08:59:11 +00:00

Create gh-pages branch via GitHub

This commit is contained in:
Daniel Barber 2014-09-26 11:22:49 +01:00
parent 6ea45d0208
commit d7a6641b00
2 changed files with 5 additions and 5 deletions

View File

@ -74,16 +74,16 @@
<h2>
<a name="usage" class="anchor" href="#usage"><span class="octicon octicon-link"></span></a>Usage</h2>
<div class="highlight highlight-liquid"><pre><span class="p">{%</span><span class="w"> </span><span class="nt">video</span><span class="w"> </span>{embed-url}<span class="w"> </span><span class="na">width</span><span class="o">=</span>{width}<span class="w"> </span><span class="na">height</span><span class="o">=</span>{height}<span class="w"> </span><span class="p">%}</span>
</pre></div>
<pre><code>{% video {embed-url} width={width} height={height} %}
</code></pre>
<p>The embed URL is the one that is referenced by the iframe in the video embed code.</p>
<h3>
<a name="example" class="anchor" href="#example"><span class="octicon octicon-link"></span></a>Example:</h3>
<div class="highlight highlight-liquid"><pre><span class="p">{%</span><span class="w"> </span><span class="nt">video</span><span class="w"> </span>//www.youtube.com/embed/<span class="mi">7</span>eP<span class="mi">4</span>pw<span class="mi">03</span>PCg<span class="w"> </span><span class="na">width</span><span class="o">=</span><span class="mi">560</span><span class="w"> </span><span class="na">height</span><span class="o">=</span><span class="mi">315</span><span class="w"> </span><span class="p">%}</span>
</pre></div>
<pre><code>{% video //www.youtube.com/embed/7eP4pw03PCg width=560 height=315 %}
</code></pre>
<h2>
<a name="contributing" class="anchor" href="#contributing"><span class="octicon octicon-link"></span></a>Contributing</h2>

View File

@ -1 +1 @@
{"name":"Jekyll Video Tag","tagline":"Responsive videos for Jekyll.","body":"# Jekyll Video Tag\r\n\r\nJekyll Video Tag is a liquid tag that adds responsive videos to your [Jekyll](http://jekyllrb.com) static site.\r\n\r\n## Installation\r\n\r\nAdd this line to your application's Gemfile:\r\n\r\n gem 'jekyll-video-tag'\r\n\r\nAnd then execute:\r\n\r\n $ bundle\r\n\r\nOr install it yourself as:\r\n\r\n $ gem install jekyll-video-tag\r\n\r\nAdd the gem to your Jekyll config:\r\n\r\n gems: ['jekyll_video_tag']\r\n\r\nPlace the following snippet somewhere in your CSS:\r\n\r\n``` css\r\n.video-container {\r\n position: relative;\r\n width: 100%;\r\n height: 0; }\r\n .video-container iframe {\r\n position: absolute;\r\n width: 100%;\r\n height: 100%; }\r\n```\r\n\r\n## Usage\r\n\r\n``` liquid\r\n{% video {embed-url} width={width} height={height} %}\r\n```\r\n\r\nThe embed URL is the one that is referenced by the iframe in the video embed code.\r\n\r\n### Example:\r\n\r\n``` liquid\r\n{% video //www.youtube.com/embed/7eP4pw03PCg width=560 height=315 %}\r\n```\r\n\r\n## Contributing\r\n\r\n1. Fork it ( https://github.com/danbee/jekyll_video_tag/fork )\r\n2. Create your feature branch (`git checkout -b my-new-feature`)\r\n3. Commit your changes (`git commit -am 'Add some feature'`)\r\n4. Push to the branch (`git push origin my-new-feature`)\r\n5. Create a new Pull Request\r\n","google":"","note":"Don't delete this file! It's used internally to help with page regeneration."}
{"name":"Jekyll Video Tag","tagline":"Responsive videos for Jekyll.","body":"# Jekyll Video Tag\r\n\r\nJekyll Video Tag is a liquid tag that adds responsive videos to your [Jekyll](http://jekyllrb.com) static site.\r\n\r\n## Installation\r\n\r\nAdd this line to your application's Gemfile:\r\n\r\n gem 'jekyll-video-tag'\r\n\r\nAnd then execute:\r\n\r\n $ bundle\r\n\r\nOr install it yourself as:\r\n\r\n $ gem install jekyll-video-tag\r\n\r\nAdd the gem to your Jekyll config:\r\n\r\n gems: ['jekyll_video_tag']\r\n\r\nPlace the following snippet somewhere in your CSS:\r\n\r\n``` css\r\n.video-container {\r\n position: relative;\r\n width: 100%;\r\n height: 0; }\r\n .video-container iframe {\r\n position: absolute;\r\n width: 100%;\r\n height: 100%; }\r\n```\r\n\r\n## Usage\r\n\r\n```\r\n{% video {embed-url} width={width} height={height} %}\r\n```\r\n\r\nThe embed URL is the one that is referenced by the iframe in the video embed code.\r\n\r\n### Example:\r\n\r\n```\r\n{% video //www.youtube.com/embed/7eP4pw03PCg width=560 height=315 %}\r\n```\r\n\r\n## Contributing\r\n\r\n1. Fork it ( https://github.com/danbee/jekyll_video_tag/fork )\r\n2. Create your feature branch (`git checkout -b my-new-feature`)\r\n3. Commit your changes (`git commit -am 'Add some feature'`)\r\n4. Push to the branch (`git push origin my-new-feature`)\r\n5. Create a new Pull Request\r\n","google":"","note":"Don't delete this file! It's used internally to help with page regeneration."}