On Oct 19, 2007 9:03 PM, Anne van Kesteren <<a href="mailto:annevk@opera.com">annevk@opera.com</a>> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
var soundeffect = new Audio("sound.wav")<br> soundeffect.onload = function() { this.play() }<br><br>which is what was possible with the old Audio API (became <audio>) Opera<br>implemented.<br><font color="#888888">
</font></blockquote><br>When would the Opera stop playing that sound? When the user left the page? Only when the sound finished?<br></div><br>Rob<br>-- <br>"Two men owed money to a certain moneylender. One owed him five hundred denarii, and the other fifty. Neither of them had the money to pay him back, so he canceled the debts of both. Now which of them will love him more?" Simon replied, "I suppose the one who had the bigger debt canceled." "You have judged correctly," Jesus said. [Luke 7:41-43]