StarDot Knowledge Base

Set up the Capture Client Java applet

Article ID: 32
Last updated: 11 Jun, 2020

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).

Article ID: 32
Last updated: 11 Jun, 2020
Revision: 1
Access: Public
Comments: 0
Also listed in