Embed zoneminder footage on webpage?
Posted: Tue Feb 11, 2020 12:01 pm
I'm trying to embed real time video from certain zoneminder monitors on a website, thats viewable by anyone. These would be traffic cams.
My first thought was to see if there was a way to enable basic auth for a single user, but I don't think this possible and possibly not a good idea anyway.
I also thought maybe set up a dedicated "Stream" account that would only have access to the desired monitors, then set up another web server that would log into the ZM Stream account via a script and then be able to retrieve and display the video on another website. I was able to find a script that would allow this server to log into ZM, but I'm not enough of a web designer or Apache guru to know really know how to go about this.
Im using hashed auth, so as far as I know if I just copy the image location from zoneminder webpage, the hash will only be valid for an hour or so.
Can anyone give me advice on this?
My first thought was to see if there was a way to enable basic auth for a single user, but I don't think this possible and possibly not a good idea anyway.
I also thought maybe set up a dedicated "Stream" account that would only have access to the desired monitors, then set up another web server that would log into the ZM Stream account via a script and then be able to retrieve and display the video on another website. I was able to find a script that would allow this server to log into ZM, but I'm not enough of a web designer or Apache guru to know really know how to go about this.
Im using hashed auth, so as far as I know if I just copy the image location from zoneminder webpage, the hash will only be valid for an hour or so.
Can anyone give me advice on this?