fbpx
<HTML><br /> <HEAD><br /> <TITLE><br /> Webcam 1<br /> </TITLE><br /> </HEAD><BODY><br /> <IMG SRC="http://213.213.154.120:8081/record/current.jpg" name=camimage><br /> <!-- Unter IMG SRC muß die IP-Adresse der Kamera eingetragen werden. --><br /> <script language="JavaScript"><br /> var imageUrl= document.camimage.src;<br /> var random = new Date().getTime();<br /> var delay = 1; // update delay in seconds<br /> var counter = 0;<br /> var buffer = new Image;<br /> function DisplayImage() {<br /> document.camimage.src = buffer.src;<br /> LoadNextImage();<br /> }<br /> function LoadBuffer () {<br /> var trickname = imageUrl;<br /> ++counter;<br /> trickname += "?counter=" + (random + counter);<br /> buffer.src = trickname;<br /> buffer.onload = DisplayImage;<br /> }<br /> function LoadNextImage() {<br /> setTimeout("LoadBuffer()", 1000*delay);<br /> }<br /> LoadNextImage();<br /> </script><br /> </BODY><br /> </HTML>
Translate »

Pin It on Pinterest