ProfouzorsLinx/templates/display/video.html

18 lines
647 B
HTML

{% extends "base.html" %}
{% block opengraph %}
<meta property="og:title" content="{{ filename }} ({{ size }})" />
<meta property="og:type" content="video.other">
<meta property="og:url" content="{{ siteurl }}{{ sitepath }}{{ filename }}" />
<meta property="og:video" content="{{ siteurl }}{{ sitepath }}{{ selifpath }}{{ filename }}" />
{% endblock %}
{% block twittercard %}{% endblock %}
{% block main %}
<video class="display-video" controls autoplay>
<source src="{{ sitepath }}{{ selifpath }}{{ filename }}" />
<a href='{{ sitepath }}{{ selifpath }}{{ filename }}'>Download it instead</a>
</video>
{% endblock %}