This repository has been archived on 2024-09-29. You can view files and clone it, but cannot push or open issues or pull requests.
zorn-js/test/index.html
2023-11-09 00:47:48 -05:00

107 lines
No EOL
2.4 KiB
HTML

<!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="/src/icons/fa-kit/js/all.js" crossorigin="anonymous"></script>
</head>
<body>
<p>Plyx Player <span>By SudoVanilla</span></p>
<div class="video-container">
<video class="plyx-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 -->
<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 {
--plyx-progress-bar-bg: rgba(85, 144, 179, 0.23);
--plyx-progress-bar:rgb(0, 195, 255);
--pylx-thumb: #7997d0;
--pylx-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>