Fill screen with video
This commit is contained in:
parent
10e20c96c4
commit
2e38315250
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue