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

107 lines
2.4 KiB
HTML
Raw Normal View History

2023-10-17 07:45:17 -05:00
<!DOCTYPE html>
<html>
2023-11-09 00:47:48 -05:00
<head>
2024-02-25 03:16:00 -05:00
<title>Zorn</title>
2023-11-09 00:47:48 -05:00
<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>
2024-02-25 03:16:00 -05:00
<p>Zorn <span>By SudoVanilla</span></p>
2023-11-09 00:47:48 -05:00
<div class="video-container">
2024-02-25 03:16:00 -05:00
<video class="zorn-player" layout="default">
2023-11-09 00:47:48 -05:00
<!-- 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">
2024-02-25 03:16:00 -05:00
<!-- Caption support has not been worked on yet in custom player -->
2023-11-09 00:47:48 -05:00
<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>
2023-12-14 21:20:47 -05:00
</body>
2023-10-17 07:45:17 -05:00
</html>
2023-11-06 02:10:35 -05:00
<!-- Change colors in the player -->
<style>
:root {
2024-02-25 03:16:00 -05:00
--zorn-progress-bar-bg: rgba(85, 144, 179, 0.23);
--zorn-progress-bar:rgb(0, 195, 255);
--zorn-thumb: #7997d0;
--zorn-rounded-corners: 4px;
2023-11-06 02:10:35 -05:00
}
</style>
2023-11-09 00:47:48 -05:00
<!-- The following below is just for the test page -->
2023-10-17 07:45:17 -05:00
<style>
body {
background: #090909;
color: white;
font-family: arial;
overflow: hidden;
}
video {
border-radius: 12px;
}
body::before {
content: "";
2023-11-06 02:10:35 -05:00
background-image: url(https://sudovanilla.org/content/images/ennie.jpg);
2023-10-17 07:45:17 -05:00
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;
}
2023-11-09 00:47:48 -05:00
.video-container {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 100%;
max-width: 1800px;
width: calc(100% - 48px);
}
2023-10-17 07:45:17 -05:00
</style>