Stop Chrome from taking over media keys

Zeynel Abidin Öztürk -
5 months ago

Updated 5 months ago.

If you use media keys on your keyboard to control Spotify or any other installed media software, you may notice that these keys stopped working when you're watching YouTube on Chrome web browser.

This is because Chrome 74 added functionality to control YouTube and other websites to take advantage of these keys using Media Session API. So when you start watching a YouTube video, media keys only controls the video and not Spotify. In other words, Chrome blocks other apps from using media keys. This may become an issue when you want to stop the music with media keys to hear the sound of the video.

Therefore this new feature doesn't make life easier if you frequently listen to music on your computer.

Block Chrome from taking over media keys

The option for disabling hardware media key handling is hidden under a Chrome flag. Flags are experimental features that may disappear any time (but we hope this one will stay).

  1. Copy and paste chrome://flags/#hardware-media-key-handling to address bar (F6 will select address bar). This will scroll the page to right flag.
  2. Set Hardware Media Key Handling to Disabled.
  3. A restart of Chrome will be required.

Note that media keys won't work on Chrome anymore, even if you have nothing playing at the background. To restore the default setting, change the status of the flag to Default or Enabled.

Share this page on:

Keyboard shortcuts

  1. Grand Theft Auto VGrand Theft Auto V
    61160   
  2. Keyboard symbolsKeyboard symbols
    49054    1
  3. Apex Legends (PC)Apex Legends (PC)
    37947   
  4. The Sims 4The Sims 4
    36914    3
  5. PlayerUnknown's BattlegroundsPlayerUnknown's Battleg
    34421    2
  6. DiscordDiscord
    32436   
More keyboard shortcuts...
Advertisement

Join our mailing list!

Your email is kept private and we don't spam.


Info

Thanks! says 4 months ago 6/1/2019 5:38 PM
This fixed it for me, thanks!

Reply 1        0

shiro says 5 months ago 4/28/2019 1:46 AM
thanks so much

Reply 3        0