aboutsummaryrefslogtreecommitdiff
path: root/_layouts/post.html
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2020-12-28 11:05:02 -0300
committerEuAndreh <eu@euandre.org>2020-12-28 12:36:32 -0300
commit75fe4f08cfe0ec4ffb09235d2e243507a0b2d767 (patch)
tree6d929c44e4b0e8439c8521c532d8f376f3a959c3 /_layouts/post.html
parentAdd direct-video flag (diff)
downloadeuandre.org-75fe4f08cfe0ec4ffb09235d2e243507a0b2d767.tar.gz
euandre.org-75fe4f08cfe0ec4ffb09235d2e243507a0b2d767.tar.xz
Use WebM over MKV
Diffstat (limited to '_layouts/post.html')
-rw-r--r--_layouts/post.html4
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>