为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Turn off the control media playback via harware media keys

  • 10 个回答
  • 7 人有此问题
  • 1 次查看
  • 最后回复者为 Lonelywolf21

more options

Can I turn off the "control media playback via hardware media keys on a keyboard or headset or virtual media control interface" function? (Firefox 81.0, Windows 10)

Can I turn off the "control media playback via hardware media keys on a keyboard or headset or virtual media control interface" function? (Firefox 81.0, Windows 10)
已附加屏幕截图

被采纳的解决方案

To disable it, enter about:config in the URL bar and set media.hardwaremediakeys.enabled = false.

定位到答案原位置 👍 8

所有回复 (10)

more options

选择的解决方案

To disable it, enter about:config in the URL bar and set media.hardwaremediakeys.enabled = false.

more options

I have this same problem and seems to coincide with version 81 being installed. If you look at the screenshot you can see I've set media.hardwaremediakeys.enabled to false and hit volume button on keyboard and the box still pops up. This just started today and I've wasted about an hour at this point trying to resolve this issue. I use my keyboard volume key all the time because nobody's video is set to a standard volume. What did you do to make this obnoxious box start popping up on my screen?

more options

Hi traysco2t

Did you close and restart Firefox after modifying media.hardwaremediakeys.enabled on the about:config page ?

I notice another media.hardware pref with a false value (second one in the list) that you apparently created yourself as this pref has a trashcan next to it meaning that this pref isn't present by default.

more options

I've used FF for the past 14 years and donated. I absolutely love it, and always have.

But I'm sure anyone who comes from google into this thread will agree with me: This change This change is annoying as excreta.

Please include "media.hardwaremediakeys.enabled" in the UI in a future update. Thanks.

Edit: Or not, well I really hope the guy that downvoted me enjoys having random aspects of his Firefox starting / stopping when pressing media control keys while listening to Spotify. Enjoy.

由andrw80于修改

more options

this feature is incredibly annoying and it is way too convoluted to turn off. it is also really annoying that it shows up on the lock screen of all places and permits users to interact with your media while the computer is locked

more options

Agreed. This change was incredibly idiotic to leave enabled by default, as YouTube, Soundcloud and many other sites do not play well with this change. Spotify should take priority as it can properly interpret hardware media key controls. YouTube and Soundcloud cannot. The media keys do not work properly, at all, and I find it hard to see why anyone would expect them to without custom fixes made.

Just to list what kind of buggy interaction occurs, for just about every website, when resuming playback by pressing a Play/Pause media key, the site will not respond for several seconds. After several seconds, the media will suddenly start playing. I also cannot seem to pause it once it starts playing, but I can pause before it resumes a few seconds later. Once it starts playing, any and all media key interactions completely fail.

more options

Ok, I can disable media keys in Firefox, but it only stopped them from playing sound in random tab. Keys still do not work properly. Instead of managing my Spotify music playback, wthey do nothing at all. What else can I do? (yes, I have restarted Firefox after applying changes)

more options

tomek3001 said

Ok, I can disable media keys in Firefox, but it only stopped them from playing sound in random tab. Keys still do not work properly. Instead of managing my Spotify music playback, wthey do nothing at all. What else can I do? (yes, I have restarted Firefox after applying changes)

Having the same problem. Did as suggested and now my hotkeys simply do nothing at all while Firefox is in focus. Wondering if it's a Windows issue after all, although I haven't had any system updates recently enough to explain it.

more options

I would like to deactivate only the NOTIFICATION BAR but not the functions. Is it possible? This is very boring and is extremely inconvenient for privacy.

more options

TyDraniu said

To disable it, enter about:config in the URL bar and set media.hardwaremediakeys.enabled = false.


Thank you so much! You helped with something annoying nuisance that I had trouble with for a couple of months now. Thanks again! :D