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

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

From: Jonas Sicking <jonas@sicking.cc>
Date: Tue, 23 Oct 2007 17:40:04 -0700
Message-ID: <471E9464.6000409@sicking.cc>
timeless wrote:
> On 10/20/07, Jonas Sicking <jonas at sicking.cc> wrote:
>> The greasemonkey script could easily find all audio/video elements and
>> stop them.
> 
> how do you easily find all elements when they only exist in function
> scope changes and not documents?

The question was regarding scripts that were using display:none to hide 
specific ads on a page.

If you want to lower the volume on other <audio>s, it's been suggested 
that internal APIs are used for that.

/ Jonas
Received on Tuesday, 23 October 2007 17:40:04 UTC

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