add video player

This commit is contained in:
biglyderv 2024-11-25 14:12:43 -05:00
parent 5622d2bee4
commit 9bddacf1ef
4 changed files with 59 additions and 3 deletions

View file

@ -1,5 +1,5 @@
<div class='header'>
<img src='/static/img/logo.svgg'>
<img src='/static/img/logo.svg'>
<a href='/'>BiglyChat</a>
<%if (username=='!nobody' ) { %>
<a href="/client/login">Login</a>

View file

@ -1,7 +1,12 @@
<%- include('header.ejs') -%>
<div class='area'>
<h1>Video</h1>
<video controls src='/videos/<%= videoData.id %>.webm'></video>
<div id='video'>
<video src='/videos/<%= videoData.id %>.webm'></video>
<div id="progressbar">
<div></div>
</div>
</div>
<div><b>
<%= videoData.title %>
</b>