218 Views 4 Replies Latest reply: Jul 2, 2006 4:57 PM by Bruce Kirman
Check the following link...
It's all about making an audio file automatically play when a page is loaded. But it also has buttons that can pause/play....so I think you may be able to adapt it to your uses. Good luck to you!
As a caution,
1 of the absolute WORST things you can do in web design is to have an audio file autoload and play as soon as a website loads. This is incredibly annoying to most web users.
I am not saying you are planning this, but consider the following situations:
1) A user is listening to an audio broadcast of the local news while surfing the web, or his favorite cd. All of a sudden, what they are trying to listen to is unexpectedly overridden by sounds from a web page, that they didn't ask to hear.
2) A user is planning her wedding, while at work. She logs onto a photography website quickly to view some pictures that a co-worker had said were great, and all of a sudden the people in the next 20 cubicles are distracted by music blaring out.
3) Your aunt finally gets her young, collicky child to sleep. To unwind, she surfs the web for a bit. She decides to pop over and read your blog, and all of a sudden the music breaks the silence, waking up the child.
Audio and video on a webpage is great, but should ALWAYS be at the control of the end user.