bigly-chat/views/player.ejs

38 lines
1.4 KiB
Text
Raw Normal View History

2024-09-19 05:44:24 -04:00
<%- include('header.ejs') -%>
2024-10-25 20:48:11 -04:00
<form enctype='multipart/form-data' method='POST' action='/api/form/delete_video'>
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-25 20:48:11 -04:00
<div class='form-input'>
<b>
2024-09-19 05:44:24 -04:00
<%= videoData.title %>
</b>
2024-10-25 20:48:11 -04: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 %>">
@<%= videoData.username %></a></b>
</a>
</div>
2024-09-27 03:59:23 -04:00
</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>
<%if (username==videoData.username) { %>
<input class='form-input' type='submit' value="Delete">
<% } %>
2024-10-25 20:48:11 -04:00
</form>
<input name='target' hidden value="<%= id %>">
</div>
<%- include('comments.ejs') -%>
<%- include('footer.ejs') -%>