define styling in the watch template

This commit is contained in:
deflax 2024-01-18 06:11:33 +02:00
parent b75e7e658b
commit eec9d19dfa

View file

@ -5,13 +5,30 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/plyr/dist/plyr.min.css">
<style>
body {
margin: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background-color: #f0f0f0;
}
#player-container {
width: 100%;
max-width: 800px;
}
</style>
<title>DeflaxTV VoD Player</title>
</head>
<body>
<div id="player-container">
<video id="player" playsinline controls>
<source src="{{ video_url }}" type="video/mp4">
</video>
</div>
<script src="https://cdn.jsdelivr.net/npm/plyr/dist/plyr.min.js" crossorigin="anonymous"></script>
<script>
document.addEventListener('DOMContentLoaded', function () {
@ -21,3 +38,6 @@
</body>
</html>
</body>
</html>