Java help needed...

F

Frank

I am no Java person and need some help.
Supposedly the following script is a cut & paste to put video into one
of my web pages from my camera.
There is an Error in the following code at runtime.

The URL is valid, etc

<html>

<SCRIPT LANGUAGE="JavaScript">
function Init() {
cvcs.RemoteHost = "24.238.229.90"
cvcs.RemoteWeb = 85
cvcs.RemotePort = 8485
cvcs.Timeout = 5
cvcs.AuthType = 1
cvcs.PreviewFrameRate = 1
cvcs.PreviewWidth = 320
cvcs.PreviewHeight = 240
cvcs.DeviceSerialNo = ""
window.setInterval("ShowFrameRate()", 1000)
}

function ShowFrameRate() {
if (1)
{
var fFrameRate = cvcs.FrameRate
window.status = "Frame:" + FrameRate.toString()+ " fps"
}
cvcs.Play()
cvcs.GetRealTimeData()
CurrentTime.innerHTML = cvcs.TimeString
}
</SCRIPT>

<BODY text=white onload="Init()" onunload="cvcs.Stop()">

<OBJECT ID="cvcs" WIDTH=320 HEIGHT=240
CLASSID="CLSID:31150A86-0BBA-409f-BEB4-F3922D10BF34"
CODEBASE="xplug.ocx#version=2,0,0,0">
</OBJECT>

</html>

Regards,
Frank
 
J

Jens Peter Karlsen[FP MVP]

What was the error.

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.
 
F

Frank

When I run the page "Error on Page" is noted in the left tray area.
Image is just a box, no picture, and a Red "X" in the upper left.

What was the error.

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.
-----Original Message-----
From: Frank [mailto:[email protected]]
Posted At: 26. februar 2005 22:10
Posted To: microsoft.public.frontpage.programming
Conversation: Java help needed...
Subject: Java help needed...


I am no Java person and need some help.
Supposedly the following script is a cut & paste to put video
into one of my web pages from my camera.
There is an Error in the following code at runtime.

The URL is valid, etc

<html>

<SCRIPT LANGUAGE="JavaScript">
function Init() {
cvcs.RemoteHost = "24.238.229.90"
cvcs.RemoteWeb = 85
cvcs.RemotePort = 8485
cvcs.Timeout = 5
cvcs.AuthType = 1
cvcs.PreviewFrameRate = 1
cvcs.PreviewWidth = 320
cvcs.PreviewHeight = 240
cvcs.DeviceSerialNo = ""
window.setInterval("ShowFrameRate()", 1000)
}

function ShowFrameRate() {
if (1)
{
var fFrameRate = cvcs.FrameRate
window.status = "Frame:" + FrameRate.toString()+ " fps"
}
cvcs.Play()
cvcs.GetRealTimeData()
CurrentTime.innerHTML = cvcs.TimeString
}
</SCRIPT>

<BODY text=white onload="Init()" onunload="cvcs.Stop()">

<OBJECT ID="cvcs" WIDTH=320 HEIGHT=240
CLASSID="CLSID:31150A86-0BBA-409f-BEB4-F3922D10BF34"
CODEBASE="xplug.ocx#version=2,0,0,0">
</OBJECT>

</html>

Regards,
Frank
 
M

Murray

Would have to see the page and its code to diagnose. The universe of
possibilities is just too large.

By the way, it's javascript, not Java. They are two very different beasts.

--
Murray
============

Frank said:
When I run the page "Error on Page" is noted in the left tray area.
Image is just a box, no picture, and a Red "X" in the upper left.

What was the error.

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.
-----Original Message-----
From: Frank [mailto:[email protected]]
Posted At: 26. februar 2005 22:10
Posted To: microsoft.public.frontpage.programming
Conversation: Java help needed...
Subject: Java help needed...


I am no Java person and need some help.
Supposedly the following script is a cut & paste to put video
into one of my web pages from my camera.
There is an Error in the following code at runtime.

The URL is valid, etc

<html>

<SCRIPT LANGUAGE="JavaScript">
function Init() {
cvcs.RemoteHost = "24.238.229.90"
cvcs.RemoteWeb = 85
cvcs.RemotePort = 8485
cvcs.Timeout = 5
cvcs.AuthType = 1
cvcs.PreviewFrameRate = 1
cvcs.PreviewWidth = 320
cvcs.PreviewHeight = 240
cvcs.DeviceSerialNo = ""
window.setInterval("ShowFrameRate()", 1000)
}

function ShowFrameRate() {
if (1)
{
var fFrameRate = cvcs.FrameRate
window.status = "Frame:" + FrameRate.toString()+ " fps"
}
cvcs.Play()
cvcs.GetRealTimeData()
CurrentTime.innerHTML = cvcs.TimeString
}
</SCRIPT>

<BODY text=white onload="Init()" onunload="cvcs.Stop()">

<OBJECT ID="cvcs" WIDTH=320 HEIGHT=240
CLASSID="CLSID:31150A86-0BBA-409f-BEB4-F3922D10BF34"
CODEBASE="xplug.ocx#version=2,0,0,0">
</OBJECT>

</html>

Regards,
Frank
 
J

Jens Peter Karlsen[FP MVP]

To see the actual error, doubleclick the message and choose details. Or
set IE to always show errors.

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.
-----Original Message-----
From: Frank [mailto:[email protected]]
Posted At: 27. februar 2005 04:34
Posted To: microsoft.public.frontpage.programming
Conversation: Java help needed...
Subject: Re: Java help needed...


When I run the page "Error on Page" is noted in the left tray area.
Image is just a box, no picture, and a Red "X" in the upper left.

What was the error.

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.
-----Original Message-----
From: Frank [mailto:[email protected]] > Posted At: 26.
februar 2005 22:10 > Posted To:
microsoft.public.frontpage.programming
Conversation: Java help needed...
Subject: Java help needed...


I am no Java person and need some help.
Supposedly the following script is a cut & paste to put video >
into one of my web pages from my camera.
There is an Error in the following code at runtime.

The URL is valid, etc

<html>

<SCRIPT LANGUAGE="JavaScript">
function Init() {
cvcs.RemoteHost = "24.238.229.90"
cvcs.RemoteWeb = 85
cvcs.RemotePort = 8485
cvcs.Timeout = 5
cvcs.AuthType = 1
cvcs.PreviewFrameRate = 1
cvcs.PreviewWidth = 320
cvcs.PreviewHeight = 240
cvcs.DeviceSerialNo = ""
window.setInterval("ShowFrameRate()", 1000)
}

function ShowFrameRate() {
if (1)
{
var fFrameRate = cvcs.FrameRate
window.status = "Frame:" + FrameRate.toString()+ " fps"
}
cvcs.Play()
cvcs.GetRealTimeData()
CurrentTime.innerHTML = cvcs.TimeString
}
</SCRIPT>

<BODY text=white onload="Init()" onunload="cvcs.Stop()">

<OBJECT ID="cvcs" WIDTH=320 HEIGHT=240
CLASSID="CLSID:31150A86-0BBA-409f-BEB4-F3922D10BF34"
CODEBASE="xplug.ocx#version=2,0,0,0">
</OBJECT>

</html>

Regards,
Frank
 
F

Frank

Thanks guys, kind of like I was having my focus in the wrong place...

the line CODEBASE="xplug.ocx#version=2,0,0,0">

Might have been nice if I had installed the xplug.ocx on this computer.
Dumb!


To see the actual error, doubleclick the message and choose details. Or
set IE to always show errors.

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.
-----Original Message-----
From: Frank [mailto:[email protected]]
Posted At: 27. februar 2005 04:34
Posted To: microsoft.public.frontpage.programming
Conversation: Java help needed...
Subject: Re: Java help needed...


When I run the page "Error on Page" is noted in the left tray area.
Image is just a box, no picture, and a Red "X" in the upper left.

What was the error.

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.

-----Original Message-----
From: Frank [mailto:[email protected]] > Posted At: 26.
februar 2005 22:10 > Posted To:
microsoft.public.frontpage.programming
Conversation: Java help needed...
Subject: Java help needed...


I am no Java person and need some help.
Supposedly the following script is a cut & paste to put video >
into one of my web pages from my camera.
There is an Error in the following code at runtime.

The URL is valid, etc

<html>

<SCRIPT LANGUAGE="JavaScript">
function Init() {
cvcs.RemoteHost = "24.238.229.90"
cvcs.RemoteWeb = 85
cvcs.RemotePort = 8485
cvcs.Timeout = 5
cvcs.AuthType = 1
cvcs.PreviewFrameRate = 1
cvcs.PreviewWidth = 320
cvcs.PreviewHeight = 240
cvcs.DeviceSerialNo = ""
window.setInterval("ShowFrameRate()", 1000)
}

function ShowFrameRate() {
if (1)
{
var fFrameRate = cvcs.FrameRate
window.status = "Frame:" + FrameRate.toString()+ " fps"
}
cvcs.Play()
cvcs.GetRealTimeData()
CurrentTime.innerHTML = cvcs.TimeString
}
</SCRIPT>

<BODY text=white onload="Init()" onunload="cvcs.Stop()">

<OBJECT ID="cvcs" WIDTH=320 HEIGHT=240
CLASSID="CLSID:31150A86-0BBA-409f-BEB4-F3922D10BF34"
CODEBASE="xplug.ocx#version=2,0,0,0">
</OBJECT>

</html>

Regards,
Frank
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top