Caută ajutor

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Află mai multe

Acest fir de discuție a fost arhivat. Adresează o întrebare nouă dacă ai nevoie de ajutor.

I want to be able to use the media keys on my keyboard to pause videos as media plays in the background.

  • 7 răspunsuri
  • 1 are această problemă
  • 1 vizualizare
  • Ultimul răspuns de McCoy

more options

I want to be playing a game and be able to pause the media playing with my keyboard. Please help.

I want to be playing a game and be able to pause the media playing with my keyboard. Please help.

Toate răspunsurile (7)

more options

Whatever window you are currently in will have the focus.

more options

I don't believe that Firefox has native support for media keys at the moment. However, the Media Keys provides that functionality.

The limitations are that it only works on select websites. Also, it doesn't appear to be able to control tabs that are not focused. However, that's understandable since it would be impossible to determine which video you are trying to control if, for example, you have two YouTube tabs open.

Hope this helps.

more options

In addition to the above :

https://addons.mozilla.org/en-US/firefox/addon/play-pause/

But please first read what the developer says under "About this extension".

The reviews are very good though .....

Also see : https://www.ghacks.net/2017/08/01/pause-toggle-firefox-tabs-html5-media/

more options

Wesley Branton said

I don't believe that Firefox has native support for media keys at the moment. However, the Media Keys provides that functionality. The limitations are that it only works on select websites. Also, it doesn't appear to be able to control tabs that are not focused. However, that's understandable since it would be impossible to determine which video you are trying to control if, for example, you have two YouTube tabs open. Hope this helps.

Chrome can do it especially when chrome is not being used. I could be playing a game in fullscreen and still be able to pause a video

more options

That's strange because I tested with Google Chrome when I first replied and I couldn't get my media keys to work there, even for focused tabs.

Regardless, Firefox and Chrome are entirely seperate browsers. Firefox does not currently have builtin media key support, unfortunately.

more options

Wesley Branton said

That's strange because I tested with Google Chrome when I first replied and I couldn't get my media keys to work there, even for focused tabs. Regardless, Firefox and Chrome are entirely seperate browsers. Firefox does not currently have builtin media key support, unfortunately.

With chrome you have to edit some setting in the code if I recall.

more options

Maybe you could contact the developer of Streamkeys and ask him to make his extension available for Firefox :

Email address : alex@aegabriel.com

Unless of course that extension is not what you would want to use ....

Maybe you'll find something useful in this Reddit thread :

https://www.reddit.com/r/firefox/comments/ajhzfz/media_keys_for_youtube/

(edit : typo)

Modificat în de McCoy