diff options
author | EuAndreh <eu@euandre.org> | 2020-12-28 11:05:02 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2020-12-28 12:36:32 -0300 |
commit | 75fe4f08cfe0ec4ffb09235d2e243507a0b2d767 (patch) | |
tree | 6d929c44e4b0e8439c8521c532d8f376f3a959c3 /_layouts/post.html | |
parent | Add direct-video flag (diff) | |
download | euandre.org-75fe4f08cfe0ec4ffb09235d2e243507a0b2d767.tar.gz euandre.org-75fe4f08cfe0ec4ffb09235d2e243507a0b2d767.tar.xz |
Use WebM over MKV
Diffstat (limited to '_layouts/post.html')
-rw-r--r-- | _layouts/post.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/_layouts/post.html b/_layouts/post.html index 1ba6d6e..cdd9b93 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -31,12 +31,12 @@ layout: default {% 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"> + <source src="{% link /resources/screencasts/{{ page.date | date: "%Y-%m-%d" }}-{{ page.slug }}.webm %}" type="video/webm"> </video> {% endif %} <div class="torrent-link"> - {% capture torrent-file %}{{ site.url }}/resources/screencasts/{{ page.date | date: "%Y-%m-%d" }}-{{ page.slug }}.mkv.torrent{% endcapture %} + {% capture torrent-file %}{{ site.url }}/resources/screencasts/{{ page.date | date: "%Y-%m-%d" }}-{{ page.slug }}.webm.torrent{% endcapture %} <a href="{{ torrent-file }}">torrent</a> | <a href="/torrent.html?torrent={{ torrent-file | uri_escape }}">online webtorrent</a> |