Capture Client Webcam Java Applet
Version 1.2.8
(c)1999-2008 StarDot Technologies
Overview
--------
Capture Client is a java applet that automatically
updates a live webcam image (JPG) at a specified
interval. With Capture Client, there is no need to
use a meta refresh tag or implement any refresh or
countdown javascript. Capture Client has an optional
built-in countdown to the next scheduled live image
and the image is "cleanly" refreshed with no visible
redrawing.
Capture Client is much smaller than most webcam
java applets and therefore loads very quickly on
the viewer's web browser.
Capture Client works with both Microsoft's JVM
(java virtual machine) and Sun's JVM. Because of a
lawsuit between Sun and Microsoft, Microsoft is no
longer shipping their JVM with Windows. You can
download Sun's free JVM from http://www.java.com
Installation Instructions
-------------------------
Setting up the java applet is very simple. There
are two basic steps.
1. Upload the CaptureClient.class to your web server.
This can be done with any FTP software or whatever
software you use to upload your HTML files to your
web site. Make sure you leave the spelling and case
intact. It must be titled CaptureClient.class on
your web server. It is best to upload it to the same
folder (directory) where you live page HTML and
image is stored. Once you uploaded the class file
to your server, you will not need to do this again.
If it is not possible to place the HTML page, the image file,
and the CaptureClient.class file on the same machine
and in the same folder (directory), see the
"Installing the Applet on a Separate Server"
instructions below.
2. Implement HTML to reference the applet.
The code below is set for a 640x480 image named
netcam.jpg and will attempt to refresh every 30
seconds. It is important to note that the applet
height be 13 higher than the image height to allow
room for the status bar. The status bar text is
changeable... just keep the %M:%S intact. If you opt
not to have the status bar, then set the applet
width and height to match the width and height of
your image.
This block of html code is all that is needed to add
the java applet to your web page:
That's all there is to it! If you have any questions or
problems, e-mail help@stardot.com. Sorry, but we can only
provide tech support to StarDot customers.
Note: You can get rid of your current tag,
block if you are using
these.
If Your Image Is On A Different Server Than Your HTML File
----------------------------------------------------------
It is possible to have your HTML file on one server and
reference the live image and applet on another server (such
as a NetCam or Express 6 video server), but the applet HTML
code must be changed to accommodate this.
First, make sure the CaptureClient.class file resides in the
same directory as your live image on "Server B". Then, make
the following changes to the HTML code on "Server A".
Add "codebase" to the