diff options
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> |