Jump to content
Sign in to follow this  
Innerchaos

axis 2130 embed into website

Recommended Posts

I have an axis 2130 upgraded to version 2.43 camera... yea I should replace it but money is tight.

 

I can view it either locally or remotely via the cameras built in web server. I only mention this to state the facts... (port forwarding is working fine here)

 

if I go to someone elses house I can view my webcam via its internal server -

also If I use Videolan or VLC and open the networks stream using "http://MY-IP-HERE/axis-cgi/mjpg/video.cgi" it plays just fine.

 

Here is my issue.. I have tried dozens of scripts found on the net with zero success... including some found here. even tried copying and pasting the code found on axis website (http://www.axis.com/techsup/cam_servers/tech_notes/live_video_medium.htm) but I think it was written for newer cameras..

 

I am sure this is simple but I cant seem to just embed a stream into a webpage.

 

stripping out all the options like width or camera selection is there a barbones minimum script to display the camera's stream onto my webpage that someone can point me to.

 

I would appreciate any help

Share this post


Link to post
Share on other sites

The problem is that's an older camera and doesn't work with the techniques used in their newer cameras. What you can do is stream the camera to one of the streaming services like ustream and they convert the stream to flash so you can view it anywhere.

 

This is just one of several streaming services. http://www.ustream.tv/

Share this post


Link to post
Share on other sites
The problem is that's an older camera and doesn't work with the techniques used in their newer cameras. What you can do is stream the camera to one of the streaming services like ustream and they convert the stream to flash so you can view it anywhere.

 

This is just one of several streaming services. http://www.ustream.tv/

 

 

I dont think ustream supports ip camera's but an excellent suggestion...

 

actually I dont want any commercial intermediary site because of the required spam-a-lot bots that seem to litter websites these days.

I think all these "FREE" sites require you to allow them to gather information from you and attach commercials to your video streams.

 

I know this is possible.. when I originally bought the camera years ago I had a developer pack that came with it and had an excellent example code examples to choose from. but I never used it and since have lost it.

Share this post


Link to post
Share on other sites

update... I ftp'ed into my camera and then copied some of the html files...

 

then I butchered them and came up with the below script. It is very small and it works.. I even tried it on another machine to be sure....

However. a new problem arose. every time I visit the page, it pops up with the blocked content warning and makes me click on Allow Blocked content...

 

the Camera's original web server did give me the popup the first time I used it but then it recognizes it as allowable so it just doesnt ask anymore...

 

I am sure I butchered it too much but if you can help that would be great

 

 

 

 

 

Share this post


Link to post
Share on other sites

this and many older cameras uses active-x for video stream and this will always pop up a warning display, so it will scare youre user. Another big problem is, that Active X works by default only in Internet Explorer . Beter option is RTSP video stream from IP camera (without any servers) or image upload to ftp + meta atorefresh tag in html

 

How to Configure ActiveX in Internet Explorer

 

Step 1 – Launch Internet Explorer by double clicking the program icon on your computer’s desktop.

 

Step 2 – Select the “Tools” menu followed by clicking the “Internet Options” sub-menu.

 

Step 3 – Choose the “Security” menu tab and use the computer’s mouse to select the Internet Zone corresponding to the overall desired security level on the computer.

 

Step 4 – Choose the zone on the “Security Tab” for which you desire to manage the ActiveX controls followed by clicking the “Custom Level” menu option.

 

Step 5 – Scroll down the screen to the “Run ActiveX controls and plug-ins” menu option and select the “Administrator Approved” menu option.

 

Step 6 – Repeat step 5 for all Internet zones that you want to enable ActiveX controls.

 

Step 7 – Depending on the version of Internet Explorer installed on your computer, you may need to either exit and restart the browser or restart your computer for the changes to take effect.

 

 

How to Configure ActiveX Installation Policy for the Trusted Sites Zone

 

Websites that you or your organization trusts can be added to the “Trusted sites zone” to allow installation of ActiveX controls without network administrator approval. If a site uses one or more sub-domains, the wildcard character can be used in combination with a subdomain to permit multiple URLs to install controls. For example, if https://*.tech-faq.com is added to the Trusted sites zone policy setting, then all web sites at tech-faq.com will be allowed to install ActiveX controls onto a single or group of computers. Before enabling this feature, all servers in the sub-domains should be verified to be trusted.

 

Step 1 – Select the “Start” button and enter “gpedit.msc” in the “Search Text Field” followed by pressing the “Enter” key to launch the “Local Group Policy Editor.”

 

Step 2 – Select the “ActiveX Installer Service” located under the “Local Computer Policy\Computer Configuration\Administrative Templates\Windows Components” menu tree. Then, right-click the “ActiveX installation policy for sites in Trusted Zone” menu option located in the details pane.

 

Step 3 – Click the “Edit” menu button to open the policy setting and select the “Enabled” menu option located in the “ActiveX installation policy for sites in Trusted zones” dialog box.

 

Step 4 – Choose the policy settings to apply to sites in the “Trusted sites zone” under the options menu.

 

Step 5 – Configure desired installation options such as “silent installs,” “prompt the user,” or “Don’t install” for controls that you do not want to be installed on the computer on the current menu. Policy statements can be entered for signed, unsigned, and signed by a trusted publisher controls in this configuration menu. Controls using secure server validation (HTTPS) can also be configured to be permitted in this menu in the absence of a valid security certificate.

 

Step 6 – Click the “Ok” menu button to apply changes and exit the Group Policy Editor application.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×