Closed
Bug 857860
Opened 11 years ago
Closed 6 years ago
Wish: WebAPI for Remote Control Clients (controls on lock screen)
Categories
(Core :: DOM: Device Interfaces, enhancement)
Tracking
()
RESOLVED
FIXED
People
(Reporter: grosser.meister.morti, Unassigned)
Details
I wish there where an API for web apps that would let you put some controls onto the lock screen of an Android/Firefox OS device. In particular I would like to add media playback controls for my web based player: http://greattuneplayer.jit.su/ Android 4.2 has a lock screen widget feature and (more specific to my use case) even older Android version have a RemoteControlClient interface that exposes media playback functionality to the lock screen: http://developer.android.com/reference/android/media/RemoteControlClient.html I don't feel up to the task to specify such an API, but I'd really like to use one. So I wish Mozilla would specify this as one of their proposed WebAPIs and implement it for Android and Firefox OS (and then I would wish Google and Apply would implement the same API... well, I can dream). Slightly off topic: Actually I'd like this API also on the desktop. Under Linux it (a RemoteControlClient like API) should expose a mpris2 D-Bus API implementation. Then I could use a plasma widget I once wrote (http://kde-look.org/content/show.php/?content=144437) to assign the media keys of my keyboard to the playback controls of the web based music player. Again, dreaming.
Reporter | ||
Comment 1•11 years ago
|
||
I hope it is correct to post a wishlist item here as an "enhancement". I just wanted this noted so that maybe someone at Mozilla that thinks about new APIs for web apps knows my use case.
Updated•11 years ago
|
Component: Web Apps → DOM
Product: Firefox for Android → Core
QA Contact: aaron.train
Updated•11 years ago
|
Component: DOM → DOM: Device Interfaces
Comment 2•6 years ago
|
||
This now exists as the MediaSession API. https://wicg.github.io/mediasession/
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•