Basic stuff over!!
This commit is contained in:
parent
c0e94bccfc
commit
d42d2dd9e8
5 changed files with 907 additions and 0 deletions
20
resources/mainStyle.css
Normal file
20
resources/mainStyle.css
Normal 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
21
resources/player.html
Normal 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>
|
Loading…
Add table
Add a link
Reference in a new issue