Helps you embed Youtube and Vimeo videos responsively to your Octopress since 2012.
There are 3 easy steps.
- Add
youtube.rb
andvimeo.rb
to yourplugin
folder. - Copy the content from
rve-styles.css
to your own stylesheet or just add it to your template. - Now you can easily embed videos using only the
id
like this:
# Vimeo example
{% vimeo 20241459 %}
# Youtube example
{% youtube QWq0bSvc31A %}
Thanks go to Anders M. Andersen for his blogpost about responsive embeds and to Portway Point for their Jekyll Youtube Liquid Template Tag Gist