Here is how to embed a IP camera stream from Zoneminder into your own website (I recommend only use it for local site(site accessible only internally), since the password and username is visible.)
<img src="http://zoneminder-server-ip/cgi-bin/nph-zms?mode=jpeg&monitor=1&scale=100&maxfps=10&buffer=1000&user=username&pass=password" width="640" height="480">
Dont forget to change the ip to your zoneminder server ip, and the username and password. I recommend creating a non admin account for this. and monitor=1 to the camera you want to view from ZM. 1 would be the first camera hover over the camera url in ZM to find out the monitor ID.
<img src="http://zoneminder-server-ip/cgi-bin/nph-zms?mode=jpeg&monitor=1&scale=100&maxfps=10&buffer=1000&user=username&pass=password" width="640" height="480">
Dont forget to change the ip to your zoneminder server ip, and the username and password. I recommend creating a non admin account for this. and monitor=1 to the camera you want to view from ZM. 1 would be the first camera hover over the camera url in ZM to find out the monitor ID.
Hi,
ReplyDeleteDo you know why in my case it is just downloading the nph-zms file as binary and not showing stream?
Hi again,
Deletenevermind, I got it work, but noticed also bug in your examble. password should typed be pass
Thanks I will fix the typo, didn't notice that. Glad you got it working.
ReplyDeleteIt works great but I can't get it to work with ie 11 browser?
ReplyDeleteHave any idea's?
I don’t think this can work with IE, you may have to use a different method. Perhaps java or embeded flash.
DeleteI was trying to do the same thing, but to get it to work in IE 11 I brought up the montage page in zoneminder in IE 11 and then copied the cambozola applet sections out and put them in the other page I was embedding these in. Works great.
Delete