Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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 Spring in Action this week in the Spring 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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Dynamically starting and stopping audio