My applet sound works now, but only once I switched to .au sound files.
The problem is that you have to ensure that your browser supports JDK 1.2, which it probably doesn't. You can either switch to .au sound files for JDK 1.1, or you can go to the following URL and it explains how to run...
Ok. I've changed the sound files to .au clips. It still won't work. I have also changed the sound to load in the init() method. I have changed the code to:
win=getAudioClip(getCodeBase(),"CodeBrain006.au");
and it STILL doesn't work. I'm sure it has something to do with HTML...
I'm trying to get a sound file to play in my applet. It works great, but when i upload it to the server, the sound files won't play. I've looked everywhere for the answer. Am i supposed to load the sound files with the html?
This is what i've tried that does NOT work...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.