Results 1 to 2 of 2
- 03-08-2008, 05: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, 07:40 PM #2
- By pedaramanareddy in forum New To JavaReplies: 0Last Post: 01-03-2008, 03:39 PM
- By willemjav in forum Advanced JavaReplies: 3Last Post: 12-23-2007, 03:50 PM
- By JavaBean in forum Java SoftwareReplies: 0Last Post: 10-27-2007, 08:34 PM
- By elizabeth in forum Java AppletsReplies: 1Last Post: 08-06-2007, 10:21 PM
- By levent in forum Java SoftwareReplies: 0Last Post: 07-31-2007, 08:50 PM