diff options
author | EuAndreh <eu@euandre.org> | 2020-12-28 19:02:07 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2020-12-28 19:03:53 -0300 |
commit | 668dd6c9b72f962838e59cb7419b00690112b854 (patch) | |
tree | 90e3a77a03f254729c37f9d30493f80387179875 /_layouts/post.html | |
parent | Revert "Use proper test screencast file" (diff) | |
download | euandre.org-668dd6c9b72f962838e59cb7419b00690112b854.tar.gz euandre.org-668dd6c9b72f962838e59cb7419b00690112b854.tar.xz |
Move (again) to WebM for being more web friendly
Diffstat (limited to '')
-rw-r--r-- | _layouts/post.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/_layouts/post.html b/_layouts/post.html index bff2f55..afa66df 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -29,15 +29,15 @@ layout: default {% endif %} {% if page.video %} - {% assign mkv=page.url | replace_first: "/", "" | replace: ".html", ".mkv" %} + {% assign webm=page.url | replace_first: "/", "" | replace: ".html", ".webm" %} {% if site.flags.direct-video %} <video width="320" height="240" controls> - <source src="{% link {{ mkv }} %}" type="video/x-matroska"> + <source src="{% link {{ webm }} %}" type="video/webm"> </video> {% endif %} <div class="torrent-link"> - {% capture torrent-file %}{{ mkv | absolute_url | append: ".torrent" }}{% endcapture %} + {% capture torrent-file %}{{ webm | absolute_url | append: ".torrent" }}{% endcapture %} <a href="{{ torrent-file }}">torrent</a> | <a href="/torrent.html?torrent={{ torrent-file | uri_escape }}">online webtorrent</a> |