mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-26 19:06:11 +01:00
23 lines
544 B
HTML
23 lines
544 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>JSMpeg Stream Client</title>
|
|
<style type="text/css">
|
|
html, body {
|
|
background-color: #111;
|
|
text-align: center;
|
|
}
|
|
</style>
|
|
|
|
</head>
|
|
<body>
|
|
<canvas id="video-canvas"></canvas>
|
|
<script type="text/javascript" src="jsmpeg.min.js"></script>
|
|
<script type="text/javascript">
|
|
var canvas = document.getElementById('video-canvas');
|
|
var url = 'ws://'+document.location.hostname+':5000/live/birdseye';
|
|
var player = new JSMpeg.Player(url, {canvas: canvas, protocols: []});
|
|
</script>
|
|
</body>
|
|
</html>
|