Joomla! component: Axis WebcamZur deutschen Version..
Bugs and limitations
AboutThis component for Joomla! and Mambo integrates the video stream of an AXIS 206 network webcam into a Joomla! webpage in several different formats. It also checks if the camera is online and prints an offline message if the camera is not available.
This is the very first component I have written for Joomla! Therefore it may need some improvements. (feel free to help me with this.. :-)
Tested with Joomla! 1.0.7 and an AXIS 206 webcam (software version 4.21). It should work also with older versions of Joomla! and Mambo and maybe also with some other AXIS network webcams. Please test this and report me the results: email@example.com.
ScreenshotThe component in action, displaying a live stream from an AXIS 206 webcam:
Click the image for full size
FeaturesThis component enables you to present a video stream of an AXIS 206 (or maybe also other Axis webcams) on your Joomla! or Mambo page in several modes.
One nice thing I found out about the AXIS 206 webcam was that it offers the video stream in several different formats. With this component you can display the webcam's video stream in all these formats on your Joomla! page so that nearly every browser can display the video instantly with almost no need to install additional software/plugins.
The AXIS 206 network webcam offers the video stream in following formats:
ConfigurationThere is no admin interface yet. I have no idea (yet), how to do this. If you feel motivated to do this don't hesitate and extend the source code. :-)
At the moment all configuration has to be done in the file configuration.php. Extract this file from the zip archive and open it with your editor of choice before installing the component:
// full website URL // Enter here the full URL to your Joomla! webpage // TODO: (how do I get this from joomla?) $website_url = 'http://www.your_domain_here.com/'; // the IP-address or host, where the camera is to find. // This would be either the address of the camera itself // or the address of the router if you use portforwarding // to reach a webcam in your internal network. $camera_ip = '111.222.333.444'; // the port, where the camera is to reach // This will be port 80 or something else if the camera // sits behind a port-forwarding router (check your router's settings) $camera_port = 80; // jpeg compression from 0 to 100 (0 means no compression which // means best quality but highest bandwith usage, 100 means maximum // compression, which means lower quality, but also lower bandwith usage) $compression = 10; // if set to true, the picture will be 640x480, if set // to false it will be 320x240 $big_picture = true; // if set to true, debug messages will be printed // on the webpage. Use it if you have problems for some reason.. $axis_debug = false;Zip it back into the archive file afterwards and install the component in Joomla!. If you have shell access to your webserver you can edit this file also later directly on the webserver.
1) Install it via Joomla! backendLog into the Joomla! backend and install it like any other component:
Choose "Installation" -> "Components" from the menu, click the Browse... button, locate the component's zip file on your hard drive and upload it. You should see the component in the list of installed components afterwards (see picture on the right).
2) Create a menu item on your Joomla! pageIn the Joomla! backend open the menu editor with one of your site's menus (for example mainmenu). Click the button "New" to add a new menu item. As type choose "Component" and on the next page click on "Axis Webcam" in the listibox. Then click the "Save" button and you're finished!! :-)
Click on the images for full size
Bugs and limitations
DownloadYou can download the current version in the download section.