Jekyll plugin to create HTML5 markup for video files
- Drop
jekyll-video.rb
into your Jekyll site's_plugins
folder. - Add the following to your
_config.yml
and customize to taste.
video:
novideo: "Custom text to be shown when the browser doesn't support the HTML5 <video> tag. {src} gets replaced with the URL to the video file."
width: 800
url: /files/
Jekyll will automatically generate a HTML5
{% video %}
path/to/video.mp4::path/to/poster.jpg
{% endvideo %}