Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

Adding Audio

I want to add audio to my webpage and I used the following code:
<EMBED SRC="yoursound.WAV" WIDTH=1 HEIGHT=1 AUTOSTART=TRUE HIDDEN=TRUE>
but when I check my page with IE it says that for security reasons it has stopped the audio from playing. I can click "IE has restricted this file from showing" and allow the file to be played, but I don't want the people viewing my website to do that everytime. It is a simple WAV file and I need code to get around the blo
[481 byte] By [cujo1775] at [2007-11-11 7:57:13]
# 1 Re: Adding Audio
What you'd like to do is very "am-bit-ious", but if you get it done you'll need to tell the user of the change you've made to their security settings since such a task would involve a script to change the user's security settings. As you may already know, doing such without the user's authorisation is ILLEGAL.
Realkayak at 2007-11-11 23:34:57 >
# 2 Re: Adding Audio
I've had the same problem with some .wav files - but not all. I don't usually put sound on web pages because I find it personally very annoying to click on a page to get blasted away from my computer by over loud audio. For this reason I only put music on my Celebration Schedule pages (we do online parties every couple months for my craft mall and have a blast doing it). I also tend to stay away from .wav s because of this - can you use a .mid or .mp3 instead?

If you are wanting a voice recording - Acrobat has a pretty neat program where you record your voice by talking into the telephone for digital audio, then run it through them:

http://www.audioacrobat.com/index.htm
Ralyn at 2007-11-11 23:36:02 >