Created
September 10, 2014 16:37
-
-
Save gioxx/90cf045d06e28edda56a to your computer and use it in GitHub Desktop.
Cattura le immagini in streaming da una webcam (CCTV / Axis / ecc.) e le inserisce all'interno di una pagina web con intervalli regolari (in questo caso ogni secondo).
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script language="JavaScript" type="text/javascript"> | |
function reloadfront() { | |
setTimeout(1000); | |
var obj = document.getElementById(id); | |
obj.src = "http://CAM1.localhost.tld/axis-cgi/mjpg/video.cgi"; | |
} | |
</script> | |
<img src="http://CAM1.localhost.tld/axis-cgi/mjpg/video.cgi" name="front" width="320" height="240" id="front" onload='reloadfront()'> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment