Comment 3 for bug 179932

Revision history for this message
Fabio (koetjeboeh) wrote : Re: Java-applet of webmin-server doesn't work

Partly solved. It seems that the address in the /usr/share/doc/webcam-server/applet/webcam.html is a part of this issue.

In my setup:

<APPLET CODE = "WebCamApplet.class" archive="applet.jar" WIDTH = "320" HEIGHT = "240">
<param name=URL value="http://127.0.0.1:888">
<param name=FPS value="1">
<param name=width value="320">
<param name=height value="240">
</APPLET>

The out-of-the-box setting, does not work.

<APPLET CODE = "WebCamApplet.class" archive="applet.jar" WIDTH = "320" HEIGHT = "240">
<param name=URL value="http://192.168.0.1:888">
<param name=FPS value="1">
<param name=width value="320">
<param name=height value="240">
</APPLET>

Does work if I open the webpage with http://192.168.0.1/webcam.html. The address http://address/webcam.html only works with <param name=URL value="http://address:888"> etc.
Maybe this is a browser security thing? The reason is not yet clear to me.

However, this may not be a problem with respect to webcam-server, it is probably an solution which should be noted.