Saturday, June 2, 2012

Embedded Zoneminder Stream

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.

6 comments:

  1. Hi,

    Do you know why in my case it is just downloading the nph-zms file as binary and not showing stream?

    ReplyDelete
    Replies
    1. Hi again,

      nevermind, I got it work, but noticed also bug in your examble. password should typed be pass

      Delete
  2. Thanks I will fix the typo, didn't notice that. Glad you got it working.

    ReplyDelete
  3. It works great but I can't get it to work with ie 11 browser?
    Have any idea's?

    ReplyDelete
    Replies
    1. I don’t think this can work with IE, you may have to use a different method. Perhaps java or embeded flash.

      Delete
    2. I 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

Thanks for your input.

PiKVM to NVR

  Trying to connect to your IP Camera Network Video Recorder (NVR) via your PiKVM and it’s not working? No video from the NVR on...