wood burning stoves 2.0*
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Dynamically starting and stopping audio" Watch "Dynamically starting and stopping audio" New topic
Author

Dynamically starting and stopping audio

Guy Shahar
Greenhorn

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.
 
jQuery in Action, 2nd edition
 
subject: Dynamically starting and stopping audio