StarDot Knowledge Base
Search:     Advanced search

Set up the Capture Client Java applet

Article ID: 32
Last updated: 01 Oct, 2008
Add comment
Comments: 0

Installation

  1. Download the CaptureClient.class file.
  2. Uplodate the CaptureClient.class file to your web server (into the directory where your HTML and webcam image files are located.
  3. Copy and paste the code below into your webcam HTML.
    <applet code="CaptureClient.class" width="640" height="493">
    <param name="image" value="netcam.jpg">
    <param name="delay" value="30">
    <param name="status" value="2">
    <param name="statusText" value="Next live image in %s seconds">
    <param name="statusTextColor" value="#ffffff">
    <param name="backgroundColor" value="#000000">
    <param name="url" value="http://www.stardot.com">
    </applet>
  4. Customize the code.
    width = image width (example shows 640)
    height = image height + 13 (example shows 493)
    image value = webcam image filename (example shows netcam.jpg)
    delay value = number of seconds to next update attempt (example shows 30)

Detailed reference of Capture Client parameters.

Need help on using the applet with separate image and html servers. Check instructions.txt (included in the downloadable zip file).

Add comment
Also listed in
folder FAQ -> Imaging

Prev   Next
Capture Client Java Applet     Why am I seeing a red "X" where the image should be?