Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 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.
I agree. Here's the link:
subject: Dynamically starting and stopping audio
It's not a secret anymore!