transfersh/download.video.html
2021-05-10 21:23:37 +02:00

30 lines
822 B
HTML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html lang=fr>
<head>
<meta charset="utf-8" />
<title>{{.Filename}} - {{.Hostname}}</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="/styles/default.css">
</head>
<body>
<h1><a href="{{.WebAddress}}">{{.Hostname}}</a></h1>
<h2><code>{{.Filename}}</code></h2>
<div class="duo">
<p>{{.ContentType}}</p>
<p>{{.ContentLength | format "####,"}}octets</p>
</div>
<div class="duo">
<a href="{{.UrlGet}}"><h3>Télécharger</h3></a>
<a href="{{.WebAddress}}inline/{{.UrlRandomToken}}/{{.Filename}}"><h3>Lien direct</h3></a>
</div>
<video controls preload="metadata">
<source src="{{.Url}}" type="{{.ContentType}}" />
</video>
<p><img id="qr" src="data:image/png;base64,{{.QRCode}}"/></p>
</body>
</html>