We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

media keys

  • 14 回覆
  • 1 有這個問題
  • 16 次檢視
  • 最近回覆由 admin194

more options

when is firefox going to get the media keys function added? like controlling youtube with your keyboard to play or pause the video.

when is firefox going to get the media keys function added? like controlling youtube with your keyboard to play or pause the video.

所有回覆 (14)

more options
more options

Frostbyte1 said

controlling youtube with your keyboard to play or pause the video.

Hello   Frostbyte1,

You can press the   "K"   key on your keyboard,   or the space bar.
Works like charm !

You can press   "J"   to go backward;
Press   "L"  to go forward,
Press   "M"  to mute.

由 McCoy 於 修改

more options

hi, the feature is currently in development - you can enable it by turning on the media.hardwaremediakeys.enabled preference in about:config (since it's still somewhat experimental at this stage there may be bugs though).

more options

@ Philipp :

The keys that I mentioned all work for me and have been for a very long time, even with the value of that preference set to "false" ...... (?)

more options

i cant pause and unpause the video when i press the fn and f10 keys together like i can in chrome. and when i enable media.hardwaremediakeys.enabled it works but firefox has to be on screen for it to work it cant be minimized.

由 Frostbyte1 於 修改

more options

Frostbyte1 Question owner said

i cant pause and unpause the video when i press the fn and f10 keys together like i can in chrome.

Does it have to be Fn and F10  ?

Pressing the space bar to pause and play works just fine for me;   it doesn't for you ?

more options

pressing the space bar does work i was talking about when firefox is minimized

more options

Frostbyte1 Question owner said

pressing the space bar does work i was talking about when firefox is minimized

Don't know how I could have missed that   -   I am so sorry !

All I could find was this thread :

https://www.reddit.com/r/firefox/comments/dtv651/media_keys_not_working_on_minimized_firefox/

more options

'Don't know if it will work,  but I found this add-on :

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

It's not the same thing as using a key on your keyboard,   but maybe worth a try ....

由 McCoy 於 修改

more options
more options
more options

philipp said

hi, the feature is currently in development - you can enable it by turning on the media.hardwaremediakeys.enabled preference in about:config (since it's still somewhat experimental at this stage there may be bugs though).

Is there a place to report bugs for this? I can pause media from the keys on my keyboard but can't skip using the keys.

more options

hi samurai-com, you can file bugs or feature requests for this through https://bugzilla.mozilla.org/enter_bug.cgi?product=Core&component=Audio%2FVideo%3A%20Playback

more options

I enabled the media keys via about:config but if I pause for more than one minute, the keys stop responding. I suspect it's a timeout setting but there are so many different timeout settings. Any idea what it might be?