I have two new Amcrest ip cams, 2M842B outdoors. They work great. I also have a webpage to display all my cams ( 4 other Foscams).
I am trying to find a script similar the one I use with the Foscams to refresh a snap shot on the web page every 5 seconds.
<img src="http://136.63.95.117:2003/snapshot.cgi? ... XXXXXXX&t=" onload='setTimeout(function() {src = src.substring(0, (src.lastIndexOf("t=")+2))+(new Date()).getTime()}, 5000)' onerror='setTimeout(function() {src = src.substring(0, (src.lastIndexOf("t=")+2))+(new Date()).getTime()}, 5000)' alt='DOCK' height="300" width="400" class="auto-style3" />
*R
Timed snapshot script for webpage
Timed snapshot script for webpage
Last edited by rheine3 on Fri Sep 09, 2016 4:43 pm, edited 1 time in total.
- TheUberOverLord
- Posts: 32
- Joined: Sun Jul 31, 2016 5:14 pm