define styling in the watch template
This commit is contained in:
parent
b75e7e658b
commit
eec9d19dfa
1 changed files with 23 additions and 3 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue