forked from lapikud/lapikud.github.io
Add deticated front door stream page
This commit is contained in:
23
striim_front.html
Normal file
23
striim_front.html
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
<!doctype html>
|
||||||
|
<html>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta http-equiv="refresh" content="3600">
|
||||||
|
<title>striim ja kell</title>
|
||||||
|
<style>
|
||||||
|
body {
|
||||||
|
background:black;
|
||||||
|
margin:0;
|
||||||
|
padding:0;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
<p id=kell style="color:white;font-size:600%;text-align:center;padding:0;margin:0;"></p>
|
||||||
|
<img style="cursor:none;width:100%;" src="http://kontor.lapikud.ee:9999/?action=stream" alt="video0"/>
|
||||||
|
<script>
|
||||||
|
setInterval(function(){
|
||||||
|
var d = new Date();
|
||||||
|
var p = document.getElementById("kell");
|
||||||
|
var datestring = ("0" + d.getDate()).slice(-2) + "-" + ("0"+(d.getMonth()+1)).slice(-2) + "-" + d.getFullYear() + " " + ("0" + d.getHours()).slice(-2) + ":" + ("0" + d.getMinutes()).slice(-2);
|
||||||
|
p.innerHTML = datestring;
|
||||||
|
}, 1000);
|
||||||
|
|
||||||
|
</script>
|
||||||
Reference in New Issue
Block a user