Too Init To Quit

This commit is contained in:
Robin Universe
2021-07-03 18:52:30 -05:00
commit 0fdcda924e
7 changed files with 108 additions and 0 deletions

9
templates/base.html Normal file
View File

@ -0,0 +1,9 @@
<!DOCTYPE html>
<html lang="en">
<head>
{% block head %}{% endblock %}
</head>
<body>
{% block body %}{% endblock %}
</body>
</html>

20
templates/index.html Normal file
View File

@ -0,0 +1,20 @@
{% extends 'base.html' %}
{% block head %}
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type' />
<meta name="twitter:card" content="player" />
<meta name="twitter:title" content="{{ user }}" />
<meta name="twitter:image" content="{{ pic }}" />
<meta name="twitter:player" content="{{ vidurl }}" />
<meta name="twitter:player:width" content="720" />
<meta name="twitter:player:height" content="480" />
<meta name="twitter:player:stream" content="{{ vidurl }}" />
<meta name="twitter:player:stream:content_type" content="video/mp4" />
<meta http-equiv = "refresh" content = "0; url = {{ tweeturl }}" />
{% endblock %}
{% block body %}
<video width="100%" controls>
<source src="{{ vidurl }}" type="video/mp4">
</video>
{% endblock %}