Create test page
This commit is contained in:
parent
f46ebc6330
commit
7d0b63ae63
8 changed files with 313 additions and 185 deletions
BIN
test/WING IT! - Blender Open Movie-1080p.mp4
Normal file
BIN
test/WING IT! - Blender Open Movie-1080p.mp4
Normal file
Binary file not shown.
95
test/index.html
Normal file
95
test/index.html
Normal file
|
@ -0,0 +1,95 @@
|
|||
<!-- Credits -->
|
||||
<!-- The video shown here is called "WING IT!" -->
|
||||
<!-- It created by Blender Studio and Rik Schutte -->
|
||||
<!-- Also available to watch on their official PeerTube: -->
|
||||
<!-- https://video.blender.org/w/vrjS4NB4cwnJhrib8uEwi6 -->
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Plyx Player</title>
|
||||
<link rel="stylesheet" href="/src/styles/app.css">
|
||||
<script src="/src/index.js" type="module"></script>
|
||||
<script src="https://kit.fontawesome.com/ecedfeb6bc.js" crossorigin="anonymous"></script>
|
||||
</head>
|
||||
<body>
|
||||
<p>Plyx Player <span>By SudoVanilla</span></p>
|
||||
<div class="video-container">
|
||||
<video class="plyx-player" src="WING IT! - Blender Open Movie-1080p.mp4"></video>
|
||||
</div>
|
||||
<div class="credits">
|
||||
<p><a href="https://video.blender.org/w/vrjS4NB4cwnJhrib8uEwi6">WING IT!</a> <span>By Blender Studio</span></p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
<style>
|
||||
body {
|
||||
background: #090909;
|
||||
color: white;
|
||||
font-family: arial;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
video {
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
body::before {
|
||||
content: "";
|
||||
background-image: url(https://video.blender.org/lazy-static/previews/3f6a8580-1bac-4513-ae59-2df7d032ba4f.jpg);
|
||||
position: fixed;
|
||||
top: 0px;
|
||||
left: 0px;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
opacity: 0.06;
|
||||
filter: blur(10px);
|
||||
transform: scale(1.1);
|
||||
}
|
||||
|
||||
body > p:nth-child(1) {
|
||||
font-size: 24px;
|
||||
margin: auto;
|
||||
max-width: 1800px;
|
||||
padding-top: 24px;
|
||||
font-weight: bold;
|
||||
padding-left: 24px;
|
||||
}
|
||||
.credits > p:nth-child(2) {
|
||||
opacity: 0.5;
|
||||
font-size: 14px;
|
||||
margin: 0px;
|
||||
}
|
||||
span {
|
||||
opacity: 0.5;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.credits {
|
||||
position: fixed;
|
||||
bottom: 24px;
|
||||
width: 100%;
|
||||
max-width: 1800px;
|
||||
margin: auto;
|
||||
text-align: right;
|
||||
left: 50%;
|
||||
transform: translate(-50%);
|
||||
padding-right: 48px;
|
||||
}
|
||||
a {
|
||||
color: white;
|
||||
}
|
||||
|
||||
.video-container {
|
||||
position: fixed;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
width: 100%;
|
||||
max-width: 1800px;
|
||||
width: calc(100% - 48px);
|
||||
}
|
||||
</style>
|
Loading…
Add table
Add a link
Reference in a new issue