trygve.me/fuglekasse/index.php

33 lines
1022 B
PHP

<!DOCTYPE html>
<html lang="no">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta charset="UTF-8">
<meta name="theme-color" content="#263238"/>
<link rel="icon" type="image/png" href="/dist/favicon.png">
<link rel="stylesheet" href="../common/main.css">
<link href="./video-js/video-js.css" rel="stylesheet">
<link href="./video-js/themes/forest/index.css" rel="stylesheet">
</head>
<body class="theme-auto">
<?php include "../common/header.html"; ?>
<center>
<div class="cont">
<h1>Direktesending fra fuglekassa</h1>
<video id="live_stream" class="video-js responsive mainVid vjs-theme-forest" controls autoplay="true" preload="auto"
data-setup='{"controls": true, "autoplay": true, "responsive": true}'>
<source src="https://trygve.me:8080/hls/stream.m3u8" type="application/x-mpegURL">
</video>
</div>
</center>
</body>
<script src="./video-js/video.js"></script>
<script>
var player = videojs('live_stream');
</script>
</html>