video controls

This commit is contained in:
biglyderv 2024-11-25 14:12:43 -05:00
parent b9a4c8c18c
commit 3109c791f1
6 changed files with 149 additions and 20 deletions

View file

@ -1,11 +1,14 @@
<%- include('header.ejs') -%>
<div class='area'>
<h1>Video</h1>
<div id='video'>
<div class='video-wrapper'>
<video src='/videos/<%= videoData.id %>.webm'></video>
<div id="progressbar">
<div class="progressbar">
<div></div>
</div>
<div class='controls'>
<div class='play'><img src='/static/img/play.svg' class='dark'></div>
</div>
</div>
<div><b>
<%= videoData.title %>
@ -15,6 +18,5 @@
<%= videoData.username %>
</a></div>
<pre><%= videoData.desc %></pre>
<!-- todo: custom video player-->
</div>
<%- include('footer.ejs') -%>