6

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?

0__
  • 66,707
  • 21
  • 171
  • 266

1 Answers1

5

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

David Jacquel
  • 51,670
  • 6
  • 121
  • 147