Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apple keyboard shortcuts? #8

Open
damacus opened this issue Jun 1, 2018 · 6 comments
Open

Apple keyboard shortcuts? #8

damacus opened this issue Jun 1, 2018 · 6 comments

Comments

@damacus
Copy link

damacus commented Jun 1, 2018

Thanks for the quick reply on firefox addons.

The keyboard shortcuts "MediaNextTrack", "MediaPlayPause", "MediaPrevTrack" don't seem to work with Firefox. Insterad as Chrome isn't open they open iTunes.

@lidel
Copy link
Owner

lidel commented Jun 1, 2018

I think MacOS is simply hijacking your media keys, in a fashion similar to what MS Windows 10 does
with CTRL+SHIFT+0 (#3 (comment)).

I don't own a Mac, but here are two apps to try:

  1. http://milgra.com/high-sierra-media-key-enabler.html
  2. https://bekirserifoglu.wordpress.com/2017/10/01/solutionworkaround-for-mac-os-high-sierra-unified-media-buttons-playpause-next-and-previous-track-problem/
  3. discussions with more resources

Let me know if you find a working solution, I would love to add it to README.

@damacus
Copy link
Author

damacus commented Jun 1, 2018

So t his is really interesting, that's the behaviour I want (and have with Chrome).

if Google play music (GPM) is open, pressing play doesn't open iTunes another music player. It simply detects that GPM is playing audio and controls that window. Maybe it's a Firefox thing?

https://bekirserifoglu.wordpress.com/2017/10/01/solutionworkaround-for-mac-os-high-sierra-unified-media-buttons-playpause-next-and-previous-track-problem/

@lidel
Copy link
Owner

lidel commented Jun 1, 2018

Not sure if related, but Firefox does not support "global" shortcuts yet (Bug 1411795) which means its window needs to be focused for key press to be registered by this extension.
Do you think this may be the case?

@damacus
Copy link
Author

damacus commented Jun 1, 2018 via email

@lidel
Copy link
Owner

lidel commented Jun 1, 2018

AFAIK there is an additional Mac-specific handling for media buttons and <audio> in Chrome that probably made it work for you there, but it is not present in Firefox.

If Firefox is in focus and media buttons are configured like this and it does not work, then it is probably OS or some other app hijacking your key presses.

@lidel
Copy link
Owner

lidel commented Jul 4, 2018

FYI there is a related upstream bug at:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants