add video player

This commit is contained in:
biglyderv 2024-09-19 18:38:24 -04:00
parent bc6a8bcb25
commit 423a71127a
No known key found for this signature in database
GPG key ID: 33AC87E9ACE66954
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>