This is a Jekyll plugin for creating YouTube or Vimeo embed codes.
Put the plugin file video-embeds.rb
in your _plugins
directory. Create a tag specifying the type
of video you want to embed with the first required argument, the video id.
{% youtube ab1234ab1 %}
You can also specify a height and width. If you do not, it defaults to 500 x 281.
{% vimeo 123456789 1920 1080 %}
| Illegal character '&' in raw string "http://www.youtube.com/embed/oHg5SJYRHA0?color=white&theme=light"
| Line: 1
| Position: 166
| Last 80 unconsumed characters:
whoops (using maruku)