Webcam

Livebild mit Webcam

vom Dach des Hotels Pidder Lyng

<!DOCTYPE html>
<html>
<head>
<title>INSTAR HD Kamera - WebUI</title>
<style>
div.mjpeg{
position: absolute;
left: 0px; top: 0px;
border: solid 1px black;
width: 640px; height: 740px;
z-index: 0;
}
</style>
<script>
var isChrome = false;
//if (window.chrome) {
// isChrome = true;
//}
////////////////////////////////////////////////////////////////////////////////
// DIESE PARAMETER M�SSEN ENTSPRECHEND AN DIE IHRER KAMERA ANGEPASST WERDEN
// START KAMERA PARAMETER
////////////////////////////////////////////////////////////////////////////////
var url = 'kaqu59.ddns3-instar.de:80';
var streamnum = 12; // Videostream user 11 for 1280 x 720 pixel, 12 for 640 x 352 pixel and 13 for 320 x 176 pixel resolution
var name0 = 'gast'; // Camera Username
var password0 = 'pydderlyng'; // Camera Password
////////////////////////////////////////////////////////////////////////////////
// ENDE KAMERA PARAMETER
////////////////////////////////////////////////////////////////////////////////
function body_onload(){
if (streamnum == 11) {
document.getElementById('imgDisplay').src = 'http://' + url + '/tmpfs/snap.jpg?usr='+name0+'&pwd='+password0+'&'+(new Date()).getTime();
w = 1280; h = 720;
}
else if (streamnum == 12) {
document.getElementById('imgDisplay').src = 'http://' + url + '/tmpfs/auto.jpg?usr='+name0+'&pwd='+password0+'&'+(new Date()).getTime();
w = 640; h = 352;
document.getElementById('videoMJPEG').style.width = w + 'px';
document.getElementById('videoMJPEG').style.height = h + 'px';
}
else if (streamnum == 13) {
document.getElementById('imgDisplay').src = 'http://' + url + '/tmpfs/auto.jpg?usr='+name0+'&pwd='+password0+'&'+(new Date()).getTime();
w = 320; h = 176;
document.getElementById('videoMJPEG').style.width = w + 'px';
document.getElementById('videoMJPEG').style.height = h + 'px';
}
}
function load_video(){
window.status=" ";
setTimeout("reload_image()",40);
}
function reload_image(){
var xx = new Image();
if (streamnum == 11) {
xx.src = 'http://' + url + '/tmpfs/snap.jpg?usr='+name0+'&pwd='+password0+'&'+(new Date()).getTime();
}
else if (streamnum == 12) {
xx.src = 'http://' + url + '/tmpfs/auto.jpg?usr='+name0+'&pwd='+password0+'&'+(new Date()).getTime();
}
else if (streamnum == 13) {
xx.src = 'http://' + url + '/tmpfs/auto.jpg?usr='+name0+'&pwd='+password0+'&'+(new Date()).getTime();
}
document.getElementById("imgDisplay").src = xx.src;
window.status=" ";
}
</script>
</head>
<body onload="body_onload()">
<div class="mjpeg" id="videoMJPEG">
<img alt="video" id="imgDisplay" name="imgDisplay" onload="load_video()" onerror="load_video()" style="z-index: 10"/>
</div>
</body>
</html>

Sollte die Übertragung stocken oder nicht automatisch aktualisiert werden, liegt das leider an den Übertragungsdaten unseres Providers. Manchmal dauert es nur wenige Sekunden/Minuten und manchmal muß die Seite neu geladen werden, um das aktuelle Bild zu zeigen (auch nachts).

Aussicht mit Webcam