Init rewrite branch
This commit is contained in:
parent
8035b1038f
commit
053c0608ed
114 changed files with 3 additions and 23437 deletions
107
test/index.html
107
test/index.html
|
@ -1,107 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Zorn</title>
|
||||
<link rel="stylesheet" href="/src/styles/app.css">
|
||||
<script src="/src/index.js" type="module"></script>
|
||||
<script src="/src/icons/fa-kit/js/all.js" crossorigin="anonymous"></script>
|
||||
</head>
|
||||
<body>
|
||||
<p>Zorn <span>By SudoVanilla</span></p>
|
||||
<div class="video-container">
|
||||
<video class="zorn-player" layout="default">
|
||||
<!-- Quality changer support has not been worked on yet -->
|
||||
<source label="720p" src="ennie yoyki completo-S50_Iv43y_w.mp4" type="video/mp4">
|
||||
<source label="480p" src="480.mp4" type="video/mp4">
|
||||
<!-- Caption support has not been worked on yet in custom player -->
|
||||
<track src="English.vtt" kind="subtitles" srclang="en" label="English">
|
||||
<track src="Russian.vtt" kind="subtitles" srclang="ru" label="Russian">
|
||||
</video>
|
||||
</div>
|
||||
<div class="credits">
|
||||
<p><a href="https://youtu.be/MuyJtxzyU3o">Ennie and Yoyki: Ungirly Games</a> <span>By Lenar Mingazov</span></p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
<!-- Change colors in the player -->
|
||||
<style>
|
||||
:root {
|
||||
--zorn-progress-bar-bg: rgba(85, 144, 179, 0.23);
|
||||
--zorn-progress-bar:rgb(0, 195, 255);
|
||||
--zorn-thumb: #7997d0;
|
||||
--zorn-rounded-corners: 4px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<!-- The following below is just for the test page -->
|
||||
<style>
|
||||
body {
|
||||
background: #090909;
|
||||
color: white;
|
||||
font-family: arial;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
video {
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
body::before {
|
||||
content: "";
|
||||
background-image: url(https://sudovanilla.org/content/images/ennie.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