[Date Prev][Date
Next][Thread Prev][Thread Next][Date
Index][Thread Index]
RE: mv1000 question
- To: <ukha_d@xxxxxxx>
- Subject: RE: mv1000 question
- From: "Dean Barrett" <dean@xxxxxxx>
- Date: Sun, 25 May 2003 14:32:45 +0100
- Mailing-list: list ukha_d@xxxxxxx; contact
ukha_d-owner@xxxxxxx
- Reply-to: ukha_d@xxxxxxx
Easiest approach, as i did for pages on our intranet was to right click and
view source for the http://ipaddress/camera page.
>From this you can copy the <object> in its entirety.
I then created a .hta html application which sits on everyones desktop, and
using a simple <iframe> reference from a link at the top of the page
you can
view any camera within the application. I would also no be difficult to
setup a meta refresh, one for each page that moves the page onto the next
camera. Each camera has a unique .jpg image name, i.e. camera1.jpg etc., so
its nice and simple.
Dean.
-----Original Message-----
From: Paul [mailto:groups@xxxxxxx]
Sent: 25 May 2003 11:36
To: ukha_d@xxxxxxx
Subject: RE: [ukha_d] mv1000 question
Oh yes, I forgot about that chapter ;)
Is this your entire page or have you got any other components on it? I'm
not
expert but it looks like the JavaScript is linked to a button it's
expecting
to see on the page??? I don't think it needs the bit of javascript anyway
to
see a basic stream???
I tried the following code which worked first time:
<html>
<head>
<meta http-equiv="Content-Language"
content="en-gb">
<meta name="GENERATOR" content="Microsoft FrontPage
5.0">
<meta name="ProgId"
content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<title>Camera</title>
</head>
<body>
<OBJECT id="Camera2"
classid="CLSID:C1BAC744-8F0B-11D0-89E7-00C0A8295197"
CODEBASE=http://192.168.0.4/push.cab#Version=2,0,0,0
STANDBY="Downloading ActiveX Camera Control"
WIDTH=320 height=240>
<PARAM NAME="URL"
VALUE="http://192.168.0.4/user/ppush2.jpg">
<PARAM NAME="Refresh" VALUE="0">
</OBJECT>
</body>
</html>
You will need to change your IP address again and set the camera number (in
the link to the JPEG images).
This will give you a very plain page with just the image stream in it - you
can then experiment with adding a button and re-introducing the javascript
(if you actually want to control stream rate etc from the page)
Paul.
-----Original Message-----
From: Nigel Giddings [mailto:nigel.giddings@xxxxxxx]
Sent: 25 May 2003 11:09
To: ukha_d@xxxxxxx
Subject: RE: [ukha_d] mv1000 question
Paul,
I looked at the manual, when all else fails !!, and copied the IE text in
E-2 (appendix) all is working but I get an error message, line 22 char 35
something about expecting J. Any ideas
<SCRIPT LANGUAGE="JavaScript">
window.onerror = null
agent = navigator.userAgent;
if (agent.indexOf('MSIE') == -1 {
document.write('
<img src="http://192.168.5.99/user/ppush1.jpg"
ALT="Image Downloading...">');}
</SCRIPT>
<SCRIPT LANGUAGE="VBScript">
Sub BtnSubmit1_OnClick
Camera1.Debug = 1
Camera1.Refreash = -1
Camera1.URL = URL1.Value
End Sub
Sub Camera1_OnRightClick
If Camera1.Stopped then
Camera1.Restart
else
Camera1.Stop
end if
End Sub
</script>
<OBJECT id="Camera1"
classid="CLSID:C1BAC744-8F0B-11D0-89E7-00C0A8295197"
CODEBASE=http://192.168.5.99/push.cab#Version=2,0,0,0
STANDBY="Downloading ActiveX Camera Control"
WIDTH=320 height=240>
<PARAM NAME="URL"
VALUE="http://192.168.5.99/user/ppush1.jpg">
<PARAM NAME="Refresh" VALUE="0">
</OBJECT>
</SCRIPT>
-----Original Message-----
From: Paul [mailto:groups@xxxxxxx]
Sent: 25 May 2003 10:38
To: ukha_d@xxxxxxx
Subject: RE: [ukha_d] mv1000 question
Looking into this a bit more...
If you look at the source of the streaming camera default page on the
MV1000
(View then Source) in IE, you will see how the ActiveX control is used.
There is also a bit of Java that communicates with the MV1000 to set stream
rate and can also allow you to control the two relay outputs on the back of
the MV1000 (could be handy!)
Paul.
-----Original Message-----
From: Nigel Giddings [mailto:nigel.giddings@xxxxxxx]
Sent: 25 May 2003 08:39
To: ukha_d@xxxxxxx
Subject: [ukha_d] mv1000 question
I am looking at sending pictures to an intranet page from my mv1000. I am
not much of a web author but do have experience of simple sites in
FrontPage.
Thanks Nigel
Home |
Main Index |
Thread Index
|