108
CLASSID is possible to confirm it by defrosting the cabinet file, and opening the set up information file
with the text editor.
(ii) CODEBASE
The cabinet file name of CODEBASE becomes a cabinet file name that contains ActiveX that wants to
be used.
The version becomes the version of the main body of ActiveX (Extension *. ocx) stored in the cabinet
file.
The method of examining the version has the following two.
- It acquires it from FileVersion described in the set up information file.
- It right-clicks in the main body of ActiveX (Extension *. ocx), property is opened, and version
information is acquired.
8.5. HTML Sample
Sample code for functions below:
- Client of VN-V685.
- Playback of JPEG (Protocol: TCP, Display Size: VGA, Framerate: 15fps)
- Play/Pause of Playback
- Capture of still picture
- Digital PTZ Control (Up, Down, Left, Right, Zoom-in, Zoom-out)
Sample code
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML4.0 Transitional//EN">
<HTML>
<HEAD>
<META http-equiv="Content-Type" content="text/html;charset=euc-jp">
<TITLE>VN-V685 Sample Client</TITLE>
</HEAD>
<SCRIPT LANGUAGE=JAVASCRIPT>
// *************** JPEG Viewer ***************
function play_click(play_btn, ip, http_port)
{ if(play_btn.value == "Play"){
JPEGViewer.IP = ip.value;
JPEGViewer.HttpPort = http_port.value;
JPEGViewer.Play();
play_btn.value = "Stop";
}
else{
JPEGViewer.Stop();