Java Applet Stream Not Working

Questions? Suggestions? Need help? Talk about anything related to Yawcam...
Post Reply
AIactive
Posts: 13
Joined: Wed Mar 30, 2011 8:03 pm

Java Applet Stream Not Working

Post by AIactive »

Hello All,
I just updated this post and thread because it contained some outdated links to my website.
Those old links are now gone and were just webcam test pages.

You can now view my new webcam pages from here:
http://halwindowscentral.com/WebsiteWebcams.aspx

I use the Yawcam java applet on my site with a free Meebo IM.
The webcam streams one of my workstations and site visitors
can IM me in order to talk to me while viewing the cam stream.

I also now use Yawcam in one of my own custom apps which runs
a 3D character connected to an Artifical Intelligence brain.
You can watch these videos to see more...

OSI3 Webcam Overview:
http://www.youtube.com/watch?v=R2ufUcyr4nc

OSI3 Webcam Chat Preview:
http://www.youtube.com/watch?v=3eQfTJ4awwg

End Of Updated Info...

The Old Post...

Yawcam Javascript Stream works for me but not the Java Applet.

Java Applet does work in Yawcam Page Designer Preview but not in any other way, such as using a HTML in the Yawcam stream folder or an online webpage, etc.

I also don't see a YawApplet.Class file anywhere within the Yawcam installation. I just see the YawApplet.Jar file. So if the class file is missing then that could be a reason why things don't work right. But since the java applet works in the Page Designer Preview I should be able to get things to work.

And I really like the way the Yawcam Java Applet works in the Page Designer Preview so it would probably be really good with some of the things I plan to use with it.

Thanks for your help!
Last edited by AIactive on Sun Jul 17, 2011 4:59 pm, edited 3 times in total.
AIactive
Posts: 13
Joined: Wed Mar 30, 2011 8:03 pm

Post by AIactive »

What you need to do is change the applet code to include the CODEBASE.
So do something like this:

<APPLET CODE="YawApplet.class" ARCHIVE="YawApplet.jar" CODEBASE="publicIP:8081" WIDTH="320" HEIGHT="240">
<param name="Host" value="publicIP">
<param name="Port" value="8081">
<param name="Zoom" value="true">
</APPLET>

Replace publicIP with your own IP.
Post Reply