Re: [DOM3Events] Bind to multimedia buttons

Joël Cox <[email protected]>
Newsgroups gmane.comp.web.dom.general
Message-ID <[email protected]>
On Sep 20, 2013, at 11:11 PM, Joël Cox <[email protected]> wrote:

> I've been working on writing up a use case for allowing documents to bind to events from physical keyboard multimedia buttons. The DOM Level 3 Events spec[1] currently has support for these buttons (in the sense that there are specific key identifiers for the buttons, namely MediaNextTrack, MediaPlayPause, MediaPreviousTrack, MediaStop[2]). However, there are a few problems that limit their use:
> 
> 1. A document has to be in focus in order to capture a KeyboardEvent.
> 2. Multimedia button events often won't reach the browser, because the buttons are bound to other media players (e.g. iTunes on OS X, even if iTunes isn't running.)

Boris Smus pointed out that some work to enable this is already underway in the Chromium project.

https://code.google.com/p/chromium/issues/detail?id=131612
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.