Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to include video tag / mp4 videos in a Jekyll blog

I am not looking for a way to link to Youtube. I want to refer to a self-hosted mp4 file.

I already have {% audio my-file.mp3 %} working.

I am looking for an equivalent {% video my-file.mp4 %}.

If I use <video ... /> directly, I get an error "Liquid exception: Unknown tag 'video' in my-text.md".


Edit: I think there is an existing Octopress plugin. But how do I install this / make it known to Jekyll?

like image 958
0__ Avatar asked Nov 17 '14 23:11

0__


1 Answers

To use the Octopress plugin, just save the video tag plugin in a _plugins folder.

like image 165
David Jacquel Avatar answered Sep 20 '22 12:09

David Jacquel