W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2010

[whatwg] A 'muted' event for the <video> element

From: Hay <huskyr@gmail.com>
Date: Wed, 9 Jun 2010 15:05:47 +0200
Message-ID: <AANLkTilj3irhXqb1gT6_J93RpL6cjFjH4kV0-kEkjx5n@mail.gmail.com>
Hi everyone,
i'm currently building a Javascript based interface for the <video>
element. One of the things that really seem to be lacking from the
specification (and hence, browsers too) is a distinct 'muted' event
that occurs whenever you set the muted property to 'true' or 'false'.
Of course, the 'volumechange' event occurs, but that also happens
whenever you set the volume so you have to check every time the event
occurs if it originated from a change on the volume or muted property.
Because these two capabilities of the <video> element have different
properties, it seems to make sense to let them trigger different
events too (or have the muted property trigger 'volumechange' as

-- Hay Kranen
Received on Wednesday, 9 June 2010 06:05:47 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:24 UTC