8.4. How to use ActiveX Control by HTML

If write the next code in <Body> of HTML source code, It comes to be able to use ActiveX in HTML.

JPEG Viewer

<OBJECT ID="JPEGViewer"

 

WIDTH = 640

 

HEIGHT= 480

 

CLASSID="CLSID:13BAD612-9219-4535-A001-2B88AD8526AD"

CODEBASE="./v686.cab#version=1,0,0,9"

<PARAM NAME="IP"

VALUE="192.168.0.2">

<PARAM NAME="HttpPort"

VALUE="80">

<PARAM NAME="DispWidth"

VALUE="640">

<PARAM NAME="DispHeight"

VALUE="480">

<PARAM NAME="FrameRate"

VALUE="15">

<PARAM NAME="StreamType"

VALUE="0">

<PARAM NAME="OpPassword"

VALUE="jvc">

</OBJECT>

 

MPEG-4 Viewer

<OBJECT ID="MPEG4Viewer" WIDTH = 640 HEIGHT= 480

CLASSID="CLSID:8AAD6441-AE84-4310-9F16-2407AC46548E" CODEBASE="./v686.cab#version=1,0,0,2"

<PARAM NAME="IP"

VALUE="192.168.0.2">

<PARAM NAME="HttpPort"

VALUE="80">

<PARAM NAME="DispWidth"

VALUE="640">

<PARAM NAME="DispHeight"

VALUE="480">

<PARAM NAME="StreamType"

VALUE="0">

<PARAM NAME="OpPassword"

VALUE="jvc">

</OBJECT>

 

PTZ Control Client

<OBJECT ID="PTZCtrl"

WIDTH = 1

HEIGHT= 1

CLASSID="CLSID:877CBEB7-33CA-44c4-AC85-D7EDC55D059"

CODEBASE="./v686.cab#version=1,0,0,9"

<PARAM NAME="IP"

VALUE="192.168.0.2">

<PARAM NAME="HttpPort"

VALUE="80">

<PARAM NAME="Opssword"

VALUE="jvc">

</OBJECT>

 

How to get CLASSID and ODEBASE

(i) CLASSID

CLASSID of ActiveX is described in the set up information file (Extension *. inf) included in the cabinet file (Extension *.cab) that stores ActiveX downloaded in Chapter 8.1.

107

Page 107
Image 107
JVC VN-V685U, 686U, 686BU manual How to use ActiveX Control by Html, 107