[whatwg] When to stop <video> elements from playing

On Fri, 19 Oct 2007 12:36:17 +0200, Robert O'Callahan  
<robert at ocallahan.org> wrote:
> On Oct 19, 2007 9:03 PM, Anne van Kesteren <annevk at opera.com> wrote:
>>   var soundeffect = new Audio("sound.wav")
>>   soundeffect.onload = function() { this.play() }
>>
>> which is what was possible with the old Audio API (became <audio>) Opera
>> implemented.
>
> When would the Opera stop playing that sound? When the user left the  
> page? Only when the sound finished?

Whichever comes first.


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

Received on Friday, 19 October 2007 04:26:38 UTC