bigly-chat/views/player.ejs
2024-11-25 14:12:44 -05:00

33 lines
No EOL
1.1 KiB
Text

<%- include('header.ejs') -%>
<div class='area'>
<h1>Video</h1>
<div class='video-wrapper'>
<video src='/videos/<%= videoData.id %>.webm'></video>
<div class="progressbar">
<div></div>
</div>
<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>
<div><b>
<%= videoData.title %>
</b>
</div>
<div class='pfp-wrapper'>
<img src='/pfp/<%= videoData.username %>.png' class='avatar'>
<div>
Created by <b><a href="/client/user?id=<%= videoData.username %>">
@<%= videoData.username %></a></b>
</a> on
<b>
<%= (new Date(videoData.date)+'').split(/(GMT|UTC)/g)[0] %>
</b>
</div>
</div>
<pre><%= videoData.desc %></pre>
</div>
<%- include('comments.ejs') -%>
<%- include('footer.ejs') -%>