Deprecated: Assigning the return value of new by reference is deprecated in /home/bobbad/www/www/inc/parserutils.php on line 219

Deprecated: Assigning the return value of new by reference is deprecated in /home/bobbad/www/www/inc/parserutils.php on line 222

Deprecated: Assigning the return value of new by reference is deprecated in /home/bobbad/www/www/inc/parserutils.php on line 317

Deprecated: Assigning the return value of new by reference is deprecated in /home/bobbad/www/www/inc/parserutils.php on line 457

Deprecated: Function split() is deprecated in /home/bobbad/www/www/inc/auth.php on line 140

Warning: Cannot modify header information - headers already sent by (output started at /home/bobbad/www/www/inc/parserutils.php:219) in /home/bobbad/www/www/inc/auth.php on line 230

Deprecated: Function split() is deprecated in /home/bobbad/www/www/inc/common.php on line 963

Warning: Cannot modify header information - headers already sent by (output started at /home/bobbad/www/www/inc/parserutils.php:219) in /home/bobbad/www/www/inc/actions.php on line 120
projects:programming:wiki:webcam [Bob Baddeley]

Deprecated: Assigning the return value of new by reference is deprecated in /home/bobbad/www/www/inc/parser/xhtml.php on line 968

Deprecated: Assigning the return value of new by reference is deprecated in /home/bobbad/www/www/inc/parser/parser.php on line 66

Deprecated: Assigning the return value of new by reference is deprecated in /home/bobbad/www/www/inc/parser/lexer.php on line 292

Deprecated: Assigning the return value of new by reference is deprecated in /home/bobbad/www/www/inc/parser/handler.php on line 19

Deprecated: Assigning the return value of new by reference is deprecated in /home/bobbad/www/www/inc/parser/handler.php on line 35

Deprecated: Assigning the return value of new by reference is deprecated in /home/bobbad/www/www/inc/parser/handler.php on line 183

Deprecated: Assigning the return value of new by reference is deprecated in /home/bobbad/www/www/inc/parser/handler.php on line 237

Deprecated: Assigning the return value of new by reference is deprecated in /home/bobbad/www/www/inc/parser/handler.php on line 270

Deprecated: Assigning the return value of new by reference is deprecated in /home/bobbad/www/www/inc/parser/handler.php on line 500

Projects - Programming - Wiki - Web Camera

View a web camera on a page. You COULD just link directly to the remote web camera image without this plugin, but this plugin will copy the image from the camera to the server so that visitors don’t hit the web camera directly. The image is cached on the server for the specified number of seconds so that if multiple people are viewing the web camera, it won’t have to hit the actual camera multiple times.

Download the plugin here: Web Camera Plugin

Installation instructions:

  1. Unzip the plugin and put it in your plugins folder of your wiki or use the link above to install it via the admin section of your wiki.
  2. To use the plugin, on any page just enter the code:
    {{webcamera>url=URLOFCAMERA|local=/LOCALFILENAMETOSAVETO|cachelength=NUMBEROFSECONDSBEFOREREQUESTINGNEWIMAGE}}
  3. Not the / in front of the local filename. This is indicating that it’s saving to the root directory. You could save it elsewhere if you wanted.

It’s that easy!

In action:

How it works:

The plugin will look to see if the local web camera image exists and if the time of the image is longer than the cachelength. If it is, then it will download a new image. If not, it will display the current image.

 
Copyright 2007, Bob Baddeley