diff options
Diffstat (limited to '_layouts/post.html')
-rw-r--r-- | _layouts/post.html | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/_layouts/post.html b/_layouts/post.html index 02f5bcb..1ba6d6e 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -29,6 +29,12 @@ layout: default {% endif %} {% if page.video %} + {% if site.flags.direct-video %} + <video controls> + <source src="{% link /resources/screencasts/{{ page.date | date: "%Y-%m-%d" }}-{{ page.slug }}.mkv %}" type="video/x-matroska"> + </video> + {% endif %} + <div class="torrent-link"> {% capture torrent-file %}{{ site.url }}/resources/screencasts/{{ page.date | date: "%Y-%m-%d" }}-{{ page.slug }}.mkv.torrent{% endcapture %} <a href="{{ torrent-file }}">torrent</a> |