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 %}
I'm using redcarpet2 for my markdown processing and I'm not having any problems. This may or may not work with maruku processing at the moment.