update
parent
40f8ce8e2c
commit
500129812f
@ -0,0 +1,52 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>{{ video.username }} - Video</title>
|
||||
<style>
|
||||
body {
|
||||
font-family: Arial, sans-serif;
|
||||
background: #111;
|
||||
color: #eee;
|
||||
text-align: center;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
video {
|
||||
margin-top: 20px;
|
||||
width: 80%;
|
||||
max-width: 1000px;
|
||||
border: 2px solid #444;
|
||||
border-radius: 8px;
|
||||
background: #000;
|
||||
}
|
||||
.meta {
|
||||
margin: 20px auto;
|
||||
text-align: left;
|
||||
max-width: 800px;
|
||||
background: #222;
|
||||
padding: 15px;
|
||||
border-radius: 6px;
|
||||
}
|
||||
.meta p { margin: 8px 0; }
|
||||
a { color: #0af; text-decoration: none; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<h1>{{ video.username }} - {{ video.site }}</h1>
|
||||
<a href="/user/{{ video.username }}">⬅ Back to {{ video.username }}'s Videos</a>
|
||||
|
||||
<video controls muted>
|
||||
<source src="/video/stream/{{ video.video_id }}" type="video/mp4">
|
||||
Your browser does not support the video tag.
|
||||
</video>
|
||||
|
||||
<div class="meta">
|
||||
<p><strong>Username:</strong> {{ video.username }}</p>
|
||||
<p><strong>Size:</strong> {{ "%.2f"|format(video.size/1024) }} GB</p>
|
||||
<p><strong>Duration:</strong> {{ video.duration if video.duration else "Unknown" }}</p>
|
||||
<p><strong>Path:</strong> {{ video.filepath }}</p>
|
||||
<p><strong>Date:</strong> {{ video.createdAt }}</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Reference in New Issue