2024-11-25 14:12:43 -05:00
|
|
|
<%- include('header.ejs') -%>
|
2024-11-25 14:12:44 -05:00
|
|
|
<meta property="og:video" content="<%= rootUrl %>/videos/<%= videoData.id %>.webm" />
|
2024-11-25 14:12:44 -05:00
|
|
|
<div class='video-wrapper'>
|
2024-11-25 14:12:44 -05:00
|
|
|
<video class='player' src='/videos/<%= videoData.id %>.webm'></video>
|
2024-11-25 14:12:44 -05:00
|
|
|
<div class="progressbar">
|
2024-11-25 14:12:44 -05:00
|
|
|
<div class="progressbar-div"></div>
|
2024-11-25 14:12:43 -05:00
|
|
|
</div>
|
2024-11-25 14:12:44 -05:00
|
|
|
<div class='controls'>
|
|
|
|
<div class='play'><img src='/static/img/play.svg' class='dark'></div>
|
|
|
|
<div class='full'><img src='/static/img/full.svg' class='dark'></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2024-11-25 14:12:44 -05:00
|
|
|
|
2024-11-25 14:12:44 -05:00
|
|
|
<form enctype='multipart/form-data' method='POST' action='/api/form/delete_video'>
|
2024-11-25 14:12:44 -05:00
|
|
|
<div class='content form-input'>
|
2024-11-25 14:12:44 -05:00
|
|
|
<b>
|
2024-11-25 14:12:43 -05:00
|
|
|
<%= videoData.title %>
|
|
|
|
</b>
|
2024-11-25 14:12:44 -05:00
|
|
|
<p>
|
|
|
|
<%= (new Date(videoData.date)+'').split(/(GMT|UTC)/g)[0] %>
|
|
|
|
</p>
|
|
|
|
<div class='avatar'>
|
|
|
|
<img src='/pfp/<%= videoData.username %>.png' class='avatar-img'>
|
|
|
|
<div>
|
|
|
|
<b><a class='link' href="/client/user?id=<%= videoData.username %>">
|
2024-11-25 14:12:44 -05:00
|
|
|
<%= videoData.username %>
|
|
|
|
</a></b>
|
2024-11-25 14:12:44 -05:00
|
|
|
</a>
|
|
|
|
</div>
|
2024-11-25 14:12:44 -05:00
|
|
|
</div>
|
2024-11-25 14:12:43 -05:00
|
|
|
</div>
|
2024-11-25 14:12:44 -05:00
|
|
|
<pre class='content form-input'><%= videoData.desc %></pre>
|
2024-11-25 14:12:44 -05:00
|
|
|
<%if (username==videoData.username) { %>
|
|
|
|
<input class='form-input' type='submit' value="Delete">
|
|
|
|
<% } %>
|
2024-11-25 14:12:44 -05:00
|
|
|
<input name='target' hidden value="<%= id %>">
|
2024-11-25 14:12:44 -05:00
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
<%- include('comments.ejs') -%>
|
|
|
|
<%- include('footer.ejs') -%>
|