ansible_playbook_audiometer/templates/index.html.j2
2023-02-21 12:53:10 +01:00

29 lines
981 B
Django/Jinja

<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title>{{ inventory_hostname }} - Audiometer</title>
<link href="darktheme.css" rel="stylesheet">
<link href="video-js.min.css" rel="stylesheet">
<link rel="icon" type="image/x-icon" href="https://winkekatze.tv/favicon.ico">
<meta name="robots" content="noindex">
<!-- Ansible managed, ask mailto:l3d@winkekatze.tv for details -->
<meta content="width=device-width,initial-scale=1.0" name="viewport"/>
</head>
<body>
<center>
<h1>Audiometer {{ inventory_hostname }}</h1>
<video-js id=vid1 width=640 height=960 class="vjs-default-skin" controls>
<source
src="stream.m3u8"
type="application/x-mpegURL">
</video-js>
<script src="video.min.js"></script>
<script src="videojs-http-streaming.min.js"></script>
<script>
var player = videojs('vid1');
player.play();
</script>
</center>
</body>
</html>