GithubHelp home page GithubHelp logo

Comments (6)

lidel avatar lidel commented on July 17, 2024 1

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.

from google-music-hotkeys.

damacus avatar damacus commented on July 17, 2024

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/

from google-music-hotkeys.

lidel avatar lidel commented on July 17, 2024

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?

from google-music-hotkeys.

damacus avatar damacus commented on July 17, 2024

from google-music-hotkeys.

lidel avatar lidel commented on July 17, 2024

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.

from google-music-hotkeys.

lidel avatar lidel commented on July 17, 2024

FYI there is a related upstream bug at:

from google-music-hotkeys.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.