Basic stuff over!!

This commit is contained in:
Violet 2023-10-26 17:35:34 +00:00
parent c0e94bccfc
commit d42d2dd9e8
5 changed files with 907 additions and 0 deletions

20
resources/mainStyle.css Normal file
View file

@ -0,0 +1,20 @@
body {
height: 100vh;
}
#videoPlayer {
margin: auto;
padding: 0;
object-fit: contain;
display: block;
height: 100%;
max-width: 100%;
/* height: 80vh; */
}
#videoContainer {
height: 80%;
max-width: 100vw;
display: flex;
background-color: black;
}

21
resources/player.html Normal file
View file

@ -0,0 +1,21 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
{CSS_HEADER}
<title>Document</title>
</head>
<body>
<div id="videoContainer">
<video id="videoPlayer" controls muted="muted" autoplay poster="{VIDEO_THUMBNAIL}">
<source src="/video?q={VIDEOID}" type="video/mp4">
</video>
</div>
<hr>
<h2 id="title">{VIDEO_TITLE}</h2>
<p id="description">{VIDEO_DESCRIPTION}</p>
</body>
</html>