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

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

From: Robert O'Callahan <robert@ocallahan.org>
Date: Fri, 19 Oct 2007 11:28:40 +1300
Message-ID: <11e306600710181528o2b975780q843ba8a61f0d2838@mail.gmail.com>
Suppose a script creates a <video> element, adds it to the document, starts
it playing, then removes the element from the document and drops all
references to it. When should the element stop playing?
-- when the element leaves the document?
-- when all JS references to the element have been dropped (and garbage
collection runs)?
-- when the user leaves the page?
-- when the end of the stream is reached? (which could be "never")

"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]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20071019/11254bc4/attachment.htm>
Received on Thursday, 18 October 2007 15:28:40 UTC

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