2024-09-19 05:44:24 -04:00
|
|
|
<%- include('header.ejs') -%>
|
2024-10-24 22:41:21 -04:00
|
|
|
<form class='content' enctype='multipart/form-data' method='POST' action='/api/form/delete_video'>
|
2024-09-19 05:44:24 -04:00
|
|
|
<h1>Video</h1>
|
2024-09-20 08:38:33 -04:00
|
|
|
<div class='video-wrapper'>
|
2024-09-19 18:38:24 -04:00
|
|
|
<video src='/videos/<%= videoData.id %>.webm'></video>
|
2024-09-20 08:38:33 -04:00
|
|
|
<div class="progressbar">
|
2024-09-19 18:38:24 -04:00
|
|
|
<div></div>
|
|
|
|
</div>
|
2024-09-20 08:38:33 -04:00
|
|
|
<div class='controls'>
|
|
|
|
<div class='play'><img src='/static/img/play.svg' class='dark'></div>
|
2024-09-22 07:35:03 -04:00
|
|
|
<div class='full'><img src='/static/img/full.svg' class='dark'></div>
|
2024-09-20 08:38:33 -04:00
|
|
|
</div>
|
2024-09-19 18:38:24 -04:00
|
|
|
</div>
|
2024-10-19 21:28:52 -04:00
|
|
|
<p><b>
|
2024-09-19 05:44:24 -04:00
|
|
|
<%= videoData.title %>
|
|
|
|
</b>
|
2024-10-19 21:28:52 -04:00
|
|
|
</p>
|
2024-09-27 03:59:23 -04:00
|
|
|
|
2024-10-19 21:28:52 -04:00
|
|
|
<div class='avatar'>
|
|
|
|
<img src='/pfp/<%= videoData.username %>.png' class='avatar-img'>
|
2024-09-27 03:59:23 -04:00
|
|
|
<div>
|
2024-10-19 21:28:52 -04:00
|
|
|
Created by <b><a class='link' href="/client/user?id=<%= videoData.username %>">
|
2024-09-27 03:59:23 -04:00
|
|
|
@<%= videoData.username %></a></b>
|
|
|
|
</a> on
|
|
|
|
<b>
|
|
|
|
<%= (new Date(videoData.date)+'').split(/(GMT|UTC)/g)[0] %>
|
|
|
|
</b>
|
|
|
|
</div>
|
2024-09-22 07:35:03 -04:00
|
|
|
</div>
|
2024-10-19 21:28:52 -04:00
|
|
|
<pre class='form-input'><%= videoData.desc %></pre>
|
2024-10-25 12:53:32 -04:00
|
|
|
<%if (username==videoData.username) { %>
|
|
|
|
<input class='form-input' type='submit' value="Delete">
|
|
|
|
<% } %>
|
|
|
|
<input name='target' hidden value="<%= id %>">
|
|
|
|
</div>
|
|
|
|
<%- include('comments.ejs') -%>
|
|
|
|
<%- include('footer.ejs') -%>
|