playing sound without the need to install media player extension
I am trying to embed a sound in an auction website. I want that everytime someone's bid, a sound will be played. I tried a simple <embed> tag with given ID, and then sound.play() through javascript.

The sound is playing, but in IE, a new user is asked to install a media player extension "if he/she trusts the website". 

Is there a way to make it play without this message. The following code is in the page:

In the HTML:

    <embed src="success.wav" autostart="false" width="0" height="0" id="sound1" enablejavascript="true">

In the Javascript:

    function PlaySound(soundObj) {
    	
      var sound = document.getElementById(soundObj);
      sound.Play();
    }

And the call to the function:

    PlaySound("sound1");

Any Ideas are welcome !




playing sound without the need to install media player extension
===

I am trying to embed a sound in an auction website. I want that everytime someone's bid, a sound will be played. I tried a simple <embed> tag with given ID, and then sound.play() through javascript.

The sound is playing, but in IE, a new user is asked to install a media player extension "if he/she trusts the website". 

Is there a way to make it play without this message. The following code is in the page:

In the HTML:

    <embed src="success.wav" autostart="false" width="0" height="0" id="sound1" enablejavascript="true">

In the Javascript:

    function PlaySound(soundObj) {
    	
      var sound = document.getElementById(soundObj);
      sound.Play();
    }

And the call to the function:

    PlaySound("sound1");

Any Ideas are welcome !



