Update video.html

This commit is contained in:
Seb3thehacker 2022-03-24 08:45:53 +00:00 committed by GitHub
parent 7a1c62a681
commit e8a190bf47
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,13 +1,17 @@
{% extends "base.html" %}
{% block head %}
{% 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 %}
{% endblock %}