mozilla-mobile / firefox-tv

Firefox for Amazon's Fire TV
https://blog.mozilla.org/blog/2017/12/20/firefox-is-now-on-amazon-fire-tv-happy-holiday-watching/
Mozilla Public License 2.0
257 stars 111 forks source link

Multimedia buttons on GV Based Firefox do not work #2108

Open mcl21014 opened 5 years ago

mcl21014 commented 5 years ago

Steps to reproduce

1) Go to a site with video such as youtube.com 2) Load up a video and try to use the pause button, for example, on a video.

Expected behavior

Pause button should stop or resume playback. Other buttons should work as well, like rewind and fast forward.

Actual behavior

Pause button produces no action. Ditto with other buttons.

Side Note

Uncertain if the behavior is due to a lack of support in Firefox with GeckoView for those buttons, or is because YouTube only plays nice with Chromium based browsers, which would not surprise me. If the latter is the case, spoofing the user agent would work.

Device information

mcomella commented 5 years ago

When MediaSession is implemented, the play/pause multimedia button routes through MediaSession: I'd expect this functionality to be fixed with #1248.

I'd expect rewind/fast-forward to be working right now, however – with WebView, these are routed directly to the WebView – so we should look into this here.