Fill screen with video

This commit is contained in:
Luca 2020-09-21 19:59:48 +02:00
parent 10e20c96c4
commit 2e38315250
1 changed files with 7 additions and 1 deletions

View File

@ -4,9 +4,15 @@
<meta charset="utf-8"> <meta charset="utf-8">
<title>Stream playout</title> <title>Stream playout</title>
<link rel="stylesheet" href="main.css"> <link rel="stylesheet" href="main.css">
<style>
body {
height: 100vh;
margin: 0;
}
</style>
</head> </head>
<body> <body>
<video class="video-js" data-setup='{}'> <video class="video-js vjs-fill" autoplay controls data-setup='{}'>
<source src="hls/stream.m3u8" type="application/x-mpegURL" /> <source src="hls/stream.m3u8" type="application/x-mpegURL" />
</video> </video>
<script src="main.js"></script> <script src="main.js"></script>