Page 1 of 1

Always Same problem embedded webcam on a page web

Posted: Sun Sep 05, 2004 1:54 pm
by Batig
Hello,

I'm sorry to made an other topic with the same problem but I'dont arrived to made work the webcam on my webpage.

I have upgraded my firmware with 1.0.5, the last on DLINK website.

I have a win2k webserver (IIS6) with an html files (test.html) and this code :


<script language="JavaScript">
<!--
if ((navigator.appName == "Microsoft Internet Explorer")&&(navigator.platform != "MacPPC"))
{
document.write("<OBJECT ID=\"VACtrl\" WIDTH=330 HEIGHT=270");
document.write(" CLASSID=CLSID:A93B47FD-9BF6-4DA8-97FC-9270B9D64A6C");
document.write(" CODEBASE=\"http://temp:[email protected]:202/plugi ... n=1,7,0,19\">");
document.write("<PARAM NAME=\"Url\" VALUE=\"http://temp:[email protected]:202/cgi-bin/video.vam\">");
document.write("<PARAM NAME=\"VSize\" VALUE=\"CMS\">");
document.write("<PARAM NAME=\"RemoteIP\" VALUE=\"1661053120\">");
document.write("<PARAM NAME=\"RemotePort\" VALUE=\"5001\">");
document.write("<PARAM NAME=\"DisplayTimeFormat\" VALUE=\"1\">");
document.write("<PARAM NAME=\"DigitalZoomEdit\" VALUE=\"false\">");
document.write("<PARAM NAME=\"RemoteID\" VALUE=\"2884\">");
document.write("<PARAM NAME=\"Language\" VALUE=\"EN\">");
document.write("</OBJECT>");
}
//-->
</script>

On my webpage I had this code :

<script language="JavaScript">
<!--
if ((navigator.appName == "Microsoft Internet Explorer")&&(navigator.platform != "MacPPC"))
{
document.write("<OBJECT ID=\"VAMCtrl\" WIDTH=330 HEIGHT=270");
document.write(" CLASSID=CLSID:A93B47FD-9BF6-4DA8-97FC-9270B9D64A6C");
document.write(" CODEBASE=\"/plugin/h263ctrl.cab#version=1,7,0,19\">");
document.write("<PARAM NAME=\"Url\" VALUE=\"/cgi-bin/video.vam\">");
document.write("<PARAM NAME=\"VSize\" VALUE=\"CMS\">");
document.write("<PARAM NAME=\"RemoteIP\" VALUE=\"1661053120\">");
document.write("<PARAM NAME=\"RemotePort\" VALUE=\"5001\">");
document.write("<PARAM NAME=\"RemoteID\" VALUE=\"22287\">");
document.write("<PARAM NAME=\"DisplayTimeFormat\" VALUE=\"1\">");
document.write("<PARAM NAME=\"DigitalZoomEdit\" VALUE=\"false\">");
document.write("<PARAM NAME=\"Language\" VALUE=\"EN\">");
document.write("</OBJECT>");
}
//-->
</script>

I've made all you say in other topic but It's don't work, please help me :)

Thank you and have a nice day

Posted: Sun Sep 05, 2004 1:59 pm
by Batig
I'm very confused but I've resolved my problem I had changed the port and not modified the code.

Now I'va the message Failed to connect on a message box, I clik ok and 5 econds after I've the image, but i'have no sound, it'is normal?

Thanks and sorry :oops: :oops: :oops:

Posted: Mon Sep 06, 2004 12:49 pm
by david
The "192.168.1.99" will not work from outside your LAN because it is a private IP address.

I have also noticed that when embedding the video into a custom page, the connection takes much longer time. Sometimes it says "could not connect" but 5 seconds later I see the image.

I get both sound and image when embedding but this depends on yout network set-up. If both computers are behind a firewall, then most likely only a video-only HTTP connection is possible.

good luck