Results 1 to 2 of 2
- 03-08-2008, 04:06 AM #1Member
- Join Date
- Mar 2008
- Rep Power
How do i play an audio clip from a server?
I am trying to play an audio file on another server, for example:
URL url = new URL("http://example.com/hello.wav"); AudioClip click = Applet.newAudioClip(url); click.play();
This doesn't seem to be working, can anyone tell me what I'm doing wrong?
Thanks very much.
- 03-08-2008, 06:40 PM #2
- By pedaramanareddy in forum New To JavaReplies: 0Last Post: 01-03-2008, 02:39 PM
- By willemjav in forum Advanced JavaReplies: 3Last Post: 12-23-2007, 02:50 PM
- By JavaBean in forum Java SoftwareReplies: 0Last Post: 10-27-2007, 07:34 PM
- By elizabeth in forum Java AppletsReplies: 1Last Post: 08-06-2007, 09:21 PM
- By levent in forum Java SoftwareReplies: 0Last Post: 07-31-2007, 07:50 PM