bigly-chat/views/player.ejs

33 lines
1.2 KiB
Text
Raw Normal View History

2024-11-25 14:12:43 -05:00
<%- include('header.ejs') -%>
2024-11-25 14:12:44 -05:00
<div class='content'>
2024-11-25 14:12:43 -05:00
<h1>Video</h1>
2024-11-25 14:12:43 -05:00
<div class='video-wrapper'>
2024-11-25 14:12:43 -05:00
<video src='/videos/<%= videoData.id %>.webm'></video>
2024-11-25 14:12:43 -05:00
<div class="progressbar">
2024-11-25 14:12:43 -05:00
<div></div>
</div>
2024-11-25 14:12:43 -05:00
<div class='controls'>
<div class='play'><img src='/static/img/play.svg' class='dark'></div>
2024-11-25 14:12:43 -05:00
<div class='full'><img src='/static/img/full.svg' class='dark'></div>
2024-11-25 14:12:43 -05:00
</div>
2024-11-25 14:12:43 -05:00
</div>
2024-11-25 14:12:44 -05:00
<p><b>
2024-11-25 14:12:43 -05:00
<%= videoData.title %>
</b>
2024-11-25 14:12:44 -05:00
</p>
2024-11-25 14:12:44 -05:00
2024-11-25 14:12:44 -05:00
<div class='avatar'>
<img src='/pfp/<%= videoData.username %>.png' class='avatar-img'>
2024-11-25 14:12:44 -05:00
<div>
2024-11-25 14:12:44 -05:00
Created by <b><a class='link' href="/client/user?id=<%= videoData.username %>">
2024-11-25 14:12:44 -05:00
@<%= videoData.username %></a></b>
</a> on
<b>
<%= (new Date(videoData.date)+'').split(/(GMT|UTC)/g)[0] %>
</b>
</div>
2024-11-25 14:12:43 -05:00
</div>
2024-11-25 14:12:44 -05:00
<pre class='form-input'><%= videoData.desc %></pre>
2024-11-25 14:12:43 -05:00
</div>
2024-11-25 14:12:43 -05:00
<%- include('comments.ejs') -%>
2024-11-25 14:12:43 -05:00
<%- include('footer.ejs') -%>