SimpleTube/resources/player.html

46 lines
1.4 KiB
HTML
Raw Normal View History

2023-10-26 12:35:34 -05:00
<!DOCTYPE html>
<html lang="en">
2023-10-27 00:38:23 -05:00
2023-10-26 12:35:34 -05:00
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
2023-10-28 19:08:28 -05:00
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css"
integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65" crossorigin="anonymous">
2023-11-17 11:58:39 -06:00
<link rel="stylesheet" href="./mainStyle.css">
2023-10-26 12:35:34 -05:00
2023-10-28 19:08:28 -05:00
2023-11-19 22:40:21 -06:00
<title>{VIDEO_TITLE} - Simpletube</title>
2023-10-26 12:35:34 -05:00
</head>
2023-10-27 00:38:23 -05:00
2023-10-26 12:35:34 -05:00
<body>
2023-10-28 19:08:28 -05:00
<div id="titleBar" class="row container-fluid">
<div class="col-6">
2023-11-20 10:55:41 -06:00
<h1><a href="/">SimpleTube</a></h1>
2023-10-28 19:08:28 -05:00
</div>
<div class="col-6">
2023-10-28 19:08:28 -05:00
<form action="/search">
<input type="text" placeholder="Search" name="q">
</form>
</div>
2023-10-27 00:38:23 -05:00
</div>
2023-10-26 12:35:34 -05:00
<div id="videoContainer">
2023-10-27 00:38:23 -05:00
<video id="videoPlayer" controls autoplay poster="{VIDEO_THUMBNAIL}">
2023-11-19 22:40:21 -06:00
<source src="./video?q={VIDEOID}&quality={VIDEO_QUALITY}" type="video/mp4">
2023-10-26 12:35:34 -05:00
</video>
</div>
<hr>
2023-11-19 23:52:48 -06:00
<p>Duration: {DURATION}</p>
2024-02-13 16:04:23 -06:00
<a href="?quality=720&q={VIDEOID}">720p</a>
<a href="?quality=1080&q={VIDEOID}">1080p</a>
2023-10-27 00:38:23 -05:00
<main>
<h2 id="title">{VIDEO_TITLE}</h2>
<div id="description">
{CACHE_WARNING}
2023-10-27 00:38:23 -05:00
<h2>Description: <br></h2>
<p>{VIDEO_DESCRIPTION}</p>
2023-10-27 00:38:23 -05:00
</div>
</main>
2023-10-26 12:35:34 -05:00
</body>
2023-10-27 00:38:23 -05:00
2023-10-26 12:35:34 -05:00
</html>