On Sat, 20 Oct 2007 01:31:46 +0200, Robert O'Callahan <[EMAIL PROTECTED]> wrote:
Therefore
myAudio = new Audio("foo.wav");
myAudio.onload = function () {
  this.play();
  myAudio = null;
}
will work, and will play until the sound ends or the user leaves the page.

That matches what Opera implements, too.


--
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>

Reply via email to