Open FearlessPotatoKing opened 7 years ago
Same thing on macOS (Sierra), the media keys only affect Firefox, even if minimized and the other player is focused.
Tested with both Clementine and iTunes.
Worse, even when the tab containing the playable media is closed, the media keys still don't work for the other media apps. This seems to become the case as soon as the media keys are used to control Firefox. If you restart Firefox but do not open any media, you can use the media keys with the other apps again.
Minimal suggested fix: restore the initial state whenever there are no playable media open.
A better solution would be to let the focused app handle the keys if it can, but I'm not sure that's doable.
On Linux (Angergos Linux 64bit-Cinnamon Desktop) when I have Firefox open at the same times as another media player application like Spotify, Audacity, or Banshee the media keys don't work with those other applications. Even if I don't have any tabs open that have any media content in them.