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

28 lines
No EOL
997 B
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>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>
<pre><%= videoData.desc %></pre>
</div>
<%- include('comments.ejs') -%>
<%- include('footer.ejs') -%>