can someone help me on getting this to work on my page?

Semidevil

Diamond Member
Apr 26, 2002
3,017
0
76
so I am trying to stream my webcam on my website, and I am using simplecam to do it.

So the way it works is that you download install the program, enter your ip and port number, and it will automatically create an index file to upload and you should see your webpage....but I keep getting error message. Since I dont know anything about programming, I dont know what it means

so this is what I did after install:

-went to the www folder of simple cam directory, and copied/pasted the applet code to the index.htm file, and put the corresponding ip and port number(they gave me a code to use, so I dont have to type it myself)

.

when I go to my webpage, www.semidevil.com, I get the gray box, but with the error "java.langclassnotfound.exception.simplecamapplett2class..."

ok, so what does that mean?

I went to another computer in my house, to check it out, and it did showed the gray box, but no error message.


also, the simplecamaplett2class file are in my www folder of simple cam directory, and still same error. I tried to upload the 2 files too, but same error.

any tips?



here is the applet code for someone to check(unless the creators wrote the wrong code)



<APPLET CODE="SimpleCamApplet2.class"
CODEBASE="http://xx.xx.x.xxx:80/"
WIDTH="320" HEIGHT="240">
<PARAM NAME="SERVER" VALUE="xx.xx.x.xxx">
<PARAM NAME="PORT" VALUE="80">
<PARAM NAME="URI" VALUE="/video">
</APPLET>

xxx is my ip address

update: I had JRE 1.3 installed, so I upgraded to the 1.4 version. I dont get the error message anymore, but I get the grey box, with an X, and the bottom says "Loading java aplett faild"
 

WannaFly

Platinum Member
Jan 14, 2003
2,811
1
0
chances are your ISP blocks port 80 outgoing, lots do. If this is the case it cannot load the file code (since thats where its loading from)
 

Semidevil

Diamond Member
Apr 26, 2002
3,017
0
76
I tried a different port, such as 8080, and still same error......I really dont know what the problem is.
 

AFB

Lifer
Jan 10, 2004
10,718
3
0
We need more info about your setup at home.

Router?
Broadband?
Did you forward the correct port (80) to this machine?
What ISP?
 

Semidevil

Diamond Member
Apr 26, 2002
3,017
0
76
Originally posted by: amdfanboy
We need more info about your setup at home.

Router?
Broadband?
Did you forward the correct port (80) to this machine?
What ISP?

so my computer is on Cox Cable RoadRunner(Broadband), with a microsoft router....I dont know how to forward or do any of those things. All I did is find out my ip address, and use port 80 and put that in the code I attatched above.....I even tried port 8080 too.


so, I dont know if there was actualy more I was supposed to do.

 

WannaFly

Platinum Member
Jan 14, 2003
2,811
1
0
Originally posted by: Semidevil
Originally posted by: amdfanboy
We need more info about your setup at home.

Router?
Broadband?
Did you forward the correct port (80) to this machine?
What ISP?

so my computer is on Cox Cable RoadRunner(Broadband), with a microsoft router....I dont know how to forward or do any of those things. All I did is find out my ip address, and use port 80 and put that in the code I attatched above.....I even tried port 8080 too.


so, I dont know if there was actualy more I was supposed to do.


Yah you need to get into your router and forward 8080 to your computers IP address.
 

Semidevil

Diamond Member
Apr 26, 2002
3,017
0
76
ok, now, exactly how do I do that??

nevermind. did some googling...got it working. thanx guys