Open Bug 1811651 Opened 3 years ago Updated 1 year ago

Control media playback via hardware buttons and other peripheral devices

Categories

(Firefox for Android :: Media, enhancement)

All
Android
enhancement

Tracking

()

People

(Reporter: kbrosnan, Unassigned)

Details

From github: https://github.com/mozilla-mobile/fenix/issues/1111.

User Story

As a user I want to control media playback via hardware buttons and other peripheral devices, so I can conveniently use my browser to consume media

Android devices and peripheral devices (e.g. a bluetooth headset) can have hardware buttons for controlling playback (e.g. play/pause/volume). As a user I want to use those buttons to control the playback of media playing on a website; e.g. pausing the podcast I am listening to.

Technical: Media Session API

┆Issue is synchronized with this Jira Task

Change performed by the Move to Bugzilla add-on.

Mugurell:

I see play / pause already works.
AC supports this after https://github.com/mozilla-mobile/android-components/issues/1846
GV supports this with https://mozilla.github.io/geckoview/javadoc/mozilla-central/org/mozilla/geckoview/MediaElement.html#method.summary

Other actions to support are probably next / previous.
Maybe fast forward / rewind?

I think we'd need to know from UX what actions should be supported
(available media buttons are here - https://android.googlesource.com/platform/frameworks/base/+/master/core/java/android/view/KeyEvent.java#1914)
to then ask GV to expose what's possible to us.

Severity: -- → N/A
Component: General → Media
You need to log in before you can comment on or make changes to this bug.