W3C home > Mailing lists > Public > whatwg@whatwg.org > October 2007

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

From: Anne van Kesteren <annevk@opera.com>
Date: Fri, 19 Oct 2007 13:26:38 +0200
Message-ID: <op.t0fzeoj264w2qv@annevk-t60.oslo.opera.com>
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

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:37 UTC