my dog learned polymorphism*
The moose likes HTML, CSS and JavaScript and the fly likes Dynamically starting and stopping audio Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Dynamically starting and stopping audio" Watch "Dynamically starting and stopping audio" New topic

Dynamically starting and stopping audio

Guy Shahar

Joined: Dec 23, 2005
Posts: 22
I am trying to make a web page with multiple links to audio that I would like to start and stop when the listener clicks a link, and without having lots of players on the screen at the same time. Can anyone tell me how I can get each piece of audio to start and stop when required?

Also, the <embed> tag doesn't seem to be supported in XHTML, but seems to be the only way to get audio to appear in Internet Explorer....

I would be very grateful for any help.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Dynamically starting and stopping audio
Similar Threads
mark/reset not supported on getResourceAsStream
Stop audio record when another recording app opens
Audio Drivers
Help with jacl script
Starting audio at a certain point