Stop Chrome and Edge Taking Your Media Keys (Play/Pause Fix)

Logeshwaran
—

Chrome and Edge grab your keyboard's media keys (play/pause, next, previous) whenever a tab is playing audio or video. That is why pressing play may pause a YouTube tab instead of Spotify, and why Windows shows a media pop-up with the browser's track. To stop it, open chrome://flags or edge://flags, search for Hardware Media Key Handling, set it to Disabled, and restart the browser. In some versions that flag is missing. Then add --disable-features=HardwareMediaKeyHandling to the end of the browser shortcut's Target and fully close the browser before reopening it. If your media keys do nothing at all, check the laptop's Fn lock first. The keys may be sending F1–F12 instead.

Ethan works with Spotify playing on his laptop and a dozen browser tabs open, a couple of them with paused videos. Every time he pressed the play/pause key to stop the music for a call, a forgotten YouTube tab started playing instead, and Spotify kept going. Jake had seen it many times: the browser had claimed the media keys because one of its tabs once played audio. He showed Ethan the browser's media control button to see what was holding the keys, then turned off the browser's media key handling with a shortcut switch. The keys went back to Spotify, and Ethan's calls started in silence. This page explains who gets your media keys, and how to choose.

⚡ Quick Answer

• Stop the browser taking media keys → flags: Hardware Media Key Handling = Disabled. Flag.

• Flag missing? → shortcut switch --disable-features=HardwareMediaKeyHandling. Switch.

• Keys do nothing → check Fn lock and keyboard software. Fn lock.

• See what is playing → the browser's media control button. Media button.

Windows media pop-up comes from the same media session; it goes away with the setting above. Pop-up.

Browser flags are experimental and change between versions; Chrome's media key flag has been removed and restored more than once. The command-line switch is the more durable method.

Why the browser takes over your media keys

Modern browsers support the Media Session feature, which lets websites such as YouTube, Spotify's web player, SoundCloud and podcast sites tell the browser what is playing and respond to play, pause, next and previous commands. To make those work from the keyboard, Chrome and Edge register with Windows as media players. When a tab plays audio or video, the browser becomes the active media session, and Windows sends media key presses to it.

That is helpful when the browser is your music player. It is frustrating when you use a desktop app such as Spotify or a music player app, because Windows sends the keys to whichever app most recently claimed the media session, often a browser tab you forgot about. Paused videos can keep the claim long after you stopped watching.

Situation Who gets the media keys
Only a desktop music app playingThe music app
A browser tab played audio more recentlyUsually the browser
Paused video in a tab, music app playingOften the browser, unexpectedly
Browser media key handling turned offThe music app
Several apps playingThe most recently active session

The same applies to video calls in the browser: some calling sites register media sessions too, so pressing play/pause during a call may mute or affect the call rather than your music.

Paused sessions are the most confusing case: a video you paused an hour ago may still count as the current media, so pressing play resumes it instead of your music, which is exactly the surprise Ethan kept running into.

How Windows routes media keys

Windows manages media through a system called the System Media Transport Controls. Apps that play media register a session with it, along with the title, artist and artwork, and Windows tracks which session is current. When you press a media key, Windows sends the command to the current session. Browsers register one session for the whole browser, representing the tab that most recently played media. That design explains every symptom on this page: the browser is simply another registered player, and the most recent player wins.

Some older desktop apps never registered with this system and instead listened for media keys directly; when a browser registers a session, those apps can lose the keys entirely, which is another reason turning off browser handling sometimes fixes an old player.

Phone Link and similar apps can show a connected phone's media on the PC and sometimes register their own controls, while smart speakers and casting sessions add sessions of their own when you cast from a browser. If media keys suddenly control music on your phone or a speaker, check the media panel in Quick Settings to see which session is current, and switch or close it there. Disconnecting casting from the browser's media button returns control to the PC.

The more devices and apps can play audio, the more useful it is to know which one currently holds the media session, which is why the media panel is the first place to look.

See what is holding the media keys

Both browsers show a media button in the toolbar when something is playing or paused in a tab. In Chrome, it is a music note icon near the address bar; in Edge, a similar media control button appears. Select it to see every tab with media, with play and pause buttons and the track or video title. That tells you immediately which tab is holding the media session. Closing that tab, or pausing and closing its media from the panel, releases the media keys back to Windows.

On Windows 11, open Quick Settings with Windows + A: a media panel there shows the current media session, and you can switch between sessions if several apps are playing. Our guide to Quick Settings in Windows 11 covers that panel.

The media button also lets you skip tracks and, in Chrome, cast media to another device, so it is worth knowing even if you never touch the media keys.

Turn off media key handling with browser flags

  1. In Chrome, type chrome://flags in the address bar; in Edge, type edge://flags.
  2. In the search box, type Hardware Media Key Handling.
  3. If the flag appears, set it to Disabled.
  4. Select Relaunch at the bottom of the page.
  5. Test your media keys with your music app playing and a video tab open.

With the flag disabled, the browser no longer responds to hardware media keys, and Windows sends them to other apps. Websites still play media normally; you control them with the mouse or the browser's own media button. If the flag is not listed, your browser version removed it; use the command-line switch in the next section instead.

If the flag page warns that flags can affect security or stability, that is a general warning for all experimental features; this particular flag only changes how the browser treats media keys.

For IT: rolling out the change

Organizations that want media keys reserved for a corporate softphone or a particular app can deploy browser shortcuts that include the command-line switch through their usual tools, or set the related browser features through management where supported. Because flags are per-user, experimental and can disappear, the switch on managed shortcuts is the more predictable approach. Test with the organization's main media and calling apps first, since headset buttons on calling devices rely on the same media session system.

Document the change in the help desk's notes too, so staff know why browsers ignore media keys when users ask.

Users who want browser media keys back can launch from an unmodified shortcut, so the change is easy to reverse case by case.

Use the command-line switch (works when the flag is gone)

  1. Right-click the Chrome or Edge shortcut you use, such as on the desktop or taskbar, and choose Properties. For a taskbar pin, right-click the icon, then right-click the browser name in the menu and choose Properties.
  2. In the Target box, click at the very end, after the closing quotation mark.
  3. Add a space, then type --disable-features=HardwareMediaKeyHandling.
  4. Select OK.
  5. Close the browser completely, including any background processes, then open it from that shortcut.

The switch only applies when the browser starts from that shortcut. If you also open the browser from the Start menu or by clicking links in other apps, those launches may not include it. Fully closing matters too: Chrome can keep running in the background if Continue running background apps when Google Chrome is closed is on in its System settings, and Edge can stay running if Startup boost is on. Turn those off, or end the browser in Task Manager, before relaunching.

If you use more than one browser

Chrome, Edge and other Chromium browsers each register their own media session. If you use two browsers, each needs its own fix: the flag or switch in Chrome affects only Chrome, and Edge needs its own. Installed web apps, such as YouTube Music installed from the browser as an app, run on the same browser engine and use shortcuts that launch through the browser; their shortcuts may need the same switch added, or you can simply leave media key handling on if a web app is your main player.

Testing is quick: play music in your app, open a video in each browser, press play/pause, and see which one reacts.

Browser profiles share one media session

Within one browser, all profiles and windows share the browser's media handling, and the switch applies to every profile started by that browser process. If you open a second profile from inside an already running browser, it inherits whatever setting the first launch had. That is why launching the browser from the edited shortcut first, before any other window opens, matters. If you use separate profiles for work and personal browsing, the media keys rule applies to both together.

Guest windows and InPrivate or Incognito windows belong to the same browser process too, so they follow the same rule.

Every method compared

Method Effect Durability
Close or pause the media tabReleases the keys nowTemporary
Browser flagBrowser ignores media keysUntil the flag changes or is removed
Command-line switchBrowser ignores media keysAs long as you launch from the shortcut
Firefox about:configFirefox ignores media keysPersistent
Mute or block autoplayFewer tabs claim mediaPersistent per site
Key remapping toolChanges what keys sendPersistent while the tool runs

For most people, the command-line switch is the best balance: it survives browser updates and does exactly one thing.

Whichever you choose, note it somewhere, such as in a text file on the desktop, so you remember what changed if you later wonder why the browser ignores your keys.

If you are unsure which to pick, try closing the tab first; if the problem keeps returning daily, move on to the switch.

Check that the switch is active

To confirm the browser picked up the switch, open chrome://version in Chrome or edge://version in Edge and look at the Command Line entry. It should include --disable-features=HardwareMediaKeyHandling. If it does not, the browser was started another way or was already running when you opened the shortcut. Close every browser window, end any remaining processes in Task Manager, and start again from the edited shortcut.

After a browser update, shortcuts usually keep their Target settings, but reinstalling the browser or letting it recreate its shortcuts can remove the switch. Check again if the old behavior returns. Our guide to finding your Edge version shows the same version page.

You can also confirm the effect directly: with the switch active, playing a video in a tab no longer makes the browser appear in Windows' media panel in Quick Settings.

If you use several browser shortcuts, such as one on the desktop and one on the taskbar, edit each of them, or remove the extras so there is only one way to start the browser.

🧭 NEW HERE? READ THESE FIRST

Taming media and audio on Windows? These five pages pair with this one:

📌 Bookmark this; the browser's media button shows who holds the keys.

The Windows media pop-up

On Windows 10, pressing a media or volume key shows a flyout in the top-left corner with the current media, its artwork and controls. On Windows 11, media controls appear in Quick Settings and in a small flyout on some versions. That flyout comes from the same media session system: when the browser owns the session, it shows the browser's tab and track. Many people dislike the flyout covering part of the screen in games or presentations.

Turning off the browser's media key handling, as above, also stops the browser appearing in the flyout. If you want the flyout gone entirely, there is no simple built-in switch in recent Windows versions; the volume indicator itself is part of Windows. Some third-party tools change or hide it, but they add another program to maintain, so most people are happy once the browser stops hijacking it.

Presenters and gamers who find the flyout distracting can also use Focus or Do Not Disturb modes during presentations; they reduce interruptions from notifications, though the volume indicator itself still appears when volume changes.

Media on the lock screen

When media plays and the PC locks, Windows can show playback controls on the lock screen, depending on the version, so you can pause music without signing in. The same media session decides what appears there. If a browser tab shows up when you expected your music app, it is the same issue as with the keys, and the same fixes apply. Phones linked through Phone Link may also show their own media controls on the PC, adding another session to the mix.

If you would rather not show what you are listening to on the lock screen, check the lock screen notification settings and the music app's own privacy options.

On shared PCs, this is also a small privacy point: anyone passing a locked screen can see what is playing.

Picture-in-Picture and media controls

The browser's media control panel often includes a Picture-in-Picture button, which pops a video out into a small floating window that stays on top of other apps. It is handy for watching while working, and the floating window has its own play and pause controls, so you do not need media keys for it. Close the floating window to return the video to its tab. Picture-in-Picture videos still count as the browser's media session, so they claim the media keys like any other playing tab unless handling is turned off.

Picture-in-Picture is also handy during video calls in a browser, letting you keep an eye on a presentation or tutorial while the call window stays in front.

Most video sites allow it; a few disable Picture-in-Picture for their player, in which case the button does not appear.

Media keys do nothing? Check Fn lock

On many laptops, the top row of keys does double duty: F1 to F12, and media or hardware functions such as volume, brightness and play/pause. A Fn lock decides which comes first. If pressing the play key sends F8 or similar, the keys are in function mode. Most laptops toggle Fn lock with Fn + Esc, or a key with a padlock and Fn symbol. Many laptops also have a firmware setting, often called Action Keys Mode or Function Key Behavior, that sets the default.

External keyboards may need their maker's software for media keys to work, especially gaming keyboards. If media keys work in one app but not in another, the problem is usually which app holds the media session, not the keyboard. If they work nowhere, check the keyboard software, try another USB port, and test the keyboard on another computer.

A quick test tells you which mode is active: open Notepad and press the key labeled with the play symbol. If nothing happens there but your music pauses, the key is in media mode; if Notepad reacts as if F-key was pressed, such as opening a dialog with F1 help in some apps, it is in function mode.

Media keys stopped after a Windows update

If media keys stopped working everywhere after an update, check the Human Interface Device Service: press Windows + R, type services.msc, find the service, and make sure it is running with Startup type set to Manual or Automatic. Windows uses it for hardware buttons and hotkeys. Next, check Device Manager under Keyboards and Human Interface Devices for warning icons, and update or reinstall the keyboard's driver. On laptops, reinstall the maker's hotkey or keyboard utility, which often handles the special keys; updates sometimes remove or break it.

A restart after reinstalling the keyboard utility is important, since hotkey software usually loads only at sign-in.

Testing the keys in a second user account helps too: if they work there, the problem is in your profile's software rather than the hardware.

Bluetooth and wireless keyboards

Wireless keyboards send media keys like wired ones, but they may need their receiver or Bluetooth connection active and, for some models, the maker's software running. If media keys on a wireless keyboard work intermittently, check its battery; low batteries often cause dropped key presses. Multi-device keyboards that switch between computers send keys to whichever device they are currently paired with, which can make it look as though keys do nothing when they are actually going to another PC or tablet.

Re-pairing the keyboard, by removing it in Settings > Bluetooth & devices and adding it again, clears many intermittent problems.

For keyboards with their own software, such as gaming keyboards, check that the software's per-app profiles have not remapped media keys for specific programs.

Fn lock on popular laptop brands

Each laptop maker handles the top row slightly differently. Many Dell, Lenovo and ASUS laptops toggle Fn lock with Fn + Esc, sometimes with a small light on the Esc key showing the state. HP laptops commonly use a firmware setting called Action Keys Mode, found in the BIOS setup, to choose whether the keys act as media keys or F1 to F12 by default. Some makers also offer the choice in their companion app, such as Lenovo Vantage, MyASUS or Dell's keyboard settings. Check your model's manual if Fn + Esc does nothing; once set, the choice stays across restarts.

Volume keys are different

Volume keys do not follow media session rules: they always change Windows' main volume, whichever app is playing. To set different volumes for different apps, open Settings > System > Sound > Volume mixer, where each app with audio has its own slider and, usefully, its own output device. You can, for example, send music to speakers and calls to a headset. Our complete audio guide covers output devices and sound problems in depth.

If volume keys show the pop-up but the sound does not change, the app may be sending audio to a different device than the one you hear; the Volume mixer shows which.

Per-app volume settings are remembered between sessions, so an app set very low in the mixer will stay quiet until you raise it again, a common cause of "no sound from one app" puzzles.

Remap keys with PowerToys

If your keyboard has no media keys, or you want them on different keys, Microsoft's free PowerToys includes Keyboard Manager, which can remap any key or shortcut to media functions such as play/pause, next track, previous track, volume up and mute. Install PowerToys from the Microsoft Store, open Keyboard Manager, choose Remap a key or Remap a shortcut, and pick the media action as the target. For example, Ctrl + Alt + Space could become play/pause. The remapped keys behave like real media keys, so the same rules about which app holds the media session apply.

Keyboard Manager runs while PowerToys is running, so set PowerToys to start with Windows if you rely on remapped media keys. Remaps can also be limited to specific apps, letting a key do one thing in a game and act as play/pause everywhere else.

To undo a remap, open Keyboard Manager again and delete the entry, or turn Keyboard Manager off entirely; nothing changes permanently in Windows.

Control media without media keys

Apps and sites have their own keyboard shortcuts that work whether or not media keys are involved. On YouTube, K or the space bar plays and pauses, J and L skip back and forward ten seconds, M mutes and Shift + N plays the next video. In Spotify's desktop app, the space bar plays and pauses when the app is focused, and Ctrl + Right and Ctrl + Left skip tracks on Windows. These shortcuts only reach the app that is in focus, which avoids media session confusion entirely, at the cost of switching to the app first.

In Windows Media Player Legacy, Ctrl + P plays and pauses, and Ctrl + F and Ctrl + B skip to the next and previous track, which are useful when its window is in focus.

Keyboard shortcuts are also the most reliable fallback when media keys behave oddly, because they never depend on which app holds the media session.

Spotify and other music apps

Spotify's desktop app responds to media keys as long as it holds the media session, which is why the browser's competing session causes trouble. Once the browser's media key handling is off, Spotify gets the keys back. Spotify's own settings also include options for showing a desktop overlay when using media keys, which you can turn off if you dislike the pop-up. Other music apps, such as Apple Music, iTunes, VLC and Windows' Media Player, work the same way.

If you use Spotify's web player in a browser instead of the desktop app, keep the browser's media key handling on, since it is how the keys reach the web player. Our guide to changing the default music player covers which app opens music files.

Spotify's web player and desktop app also compete with each other if both are open, so close whichever you are not using.

When the music app ignores the keys

Sometimes the browser is not the problem: the music app itself is set not to respond. In VLC, global hotkeys are configured in Tools > Preferences > Hotkeys, and media keys may need enabling there. Some players respond only while their window is open, not minimized to the system tray. If one app ignores the keys while others respond, check that app's settings for keyboard or hotkey options, and update it, since older versions may predate Windows' media session system.

Reinstalling the player, or switching to its Microsoft Store version where one exists, often brings proper media session support with it.

Some players also have a setting to pause when another app starts audio; turning that off can stop unexpected pauses when a browser tab briefly plays a sound.

Netflix, Prime Video and other streaming sites

Streaming services in the browser use the same media session, so a paused Netflix or Prime Video tab can grab the play/pause key from your music app just like YouTube. Their apps from the Microsoft Store behave as separate media sessions. If you mostly watch streaming services in the browser and listen to music in a desktop app, turning off browser media key handling gives the keys to the music app, while the video sites remain controllable with the space bar and on-screen controls.

Some streaming sites show their own on-screen hints for keyboard shortcuts; pressing the question mark key on many video players lists them.

Store apps for streaming services register their own sessions and can hold the keys even when minimized, so close them when you switch back to music.

Bluetooth headphones and earbuds

Buttons on Bluetooth headphones and earbuds send the same play/pause commands as keyboard media keys, so they follow the same rules: whichever app holds the media session receives the command. If tapping your earbuds pauses a YouTube tab instead of your music app, the fix is the same as for keyboard keys. If headphone buttons do nothing at all, check that the device is connected for audio, not just calls, and see our guide to Bluetooth connected but no sound.

Some headsets use their own companion software for button functions; if buttons stopped working after uninstalling such software, reinstall it or reset the headset to defaults.

Calling headsets add one more wrinkle: their buttons may answer or end calls in a calling app instead of pausing music, depending on which app holds the audio device. Setting the headset as the default communications device only when needed keeps music controls predictable.

Media keys while gaming

Gamers often listen to music while playing, and media keys are the easiest way to skip tracks mid-game. Problems arise when a browser tab with a guide video or a stream claims the keys. Turning off browser media key handling, or closing the video before starting the game, keeps the keys on the music app. Some game overlays, such as the Xbox Game Bar, include their own media widget that shows and controls the current session without leaving the game, which helps confirm which app is in control.

Full-screen games sometimes suppress the Windows media pop-up entirely, which can make it seem the keys did nothing when they actually controlled a background app.

If you stream your gameplay, streaming software may also capture media keys for scene controls, so check its hotkey settings if keys behave unexpectedly while streaming.

Turning off the overlay widget is fine too; the keys still work without it.

Stop tabs grabbing media in the first place

Fewer tabs playing media means fewer fights over media keys. Both browsers let you limit autoplay: in Edge, Settings > Cookies and site permissions > Media autoplay lets you choose Limit or Block; in Chrome, Settings > Privacy and security > Site settings > Sound lets you mute sites by default or per site, which stops audio but not video. Muting a tab, by right-clicking it and choosing Mute site or Mute tab, also keeps it quiet. Closing finished video tabs is the simplest habit of all; our guide to tab previews and tab management covers keeping tabs under control.

Blocking autoplay has a second benefit: pages load faster and quieter, and you choose when anything plays, which many people find makes the web calmer overall.

When to keep browser media keys on

Browser media key handling is genuinely useful if the browser is where you listen: YouTube Music, Spotify's web player, podcast sites, or long video playlists. In that case, keep it on, and use the browser's media button to switch between tabs. It also powers the media panel in Windows Quick Settings, lock screen controls and headphone buttons for web media. Turning it off is a trade-off, best when a desktop app is your main player.

A middle path many people like: keep handling on, and simply close video tabs when finished, so the music app gets the keys back naturally without changing any settings.

Families sharing one PC can leave handling on for the shared account and turn it off only in the account of whoever uses a desktop music app, since shortcuts and flags are per-user.

Media keys and accessibility

Media keys are an accessibility feature for many people: those who use a keyboard instead of a mouse, people with limited mobility who rely on large buttons or switch devices mapped to media functions, and people using screen readers who find hunting for on-screen play buttons slow. For them, a predictable media key matters more than for most. If you set up a PC for someone who depends on keys, choose one main player and make sure it reliably holds the media session, turning off browser handling if the browser keeps getting in the way.

Large-button external keypads with dedicated media keys are available and work with the same rules, which can make music and audiobooks easier to control for people with limited dexterity.

For web developers: the Media Session API

Websites provide media key support through the Media Session API. A site sets navigator.mediaSession.metadata with the title, artist and artwork that appear in the browser's media panel and Windows' controls, and registers action handlers for play, pause, next track and others with navigator.mediaSession.setActionHandler. Sites that do this well feel native: media keys, headphone buttons and system controls all work. If you build a site with audio or video, implementing it properly, including handling pause correctly, helps users, and sites that leave stale sessions after media ends are a main reason users turn the feature off.

Testing a site with media keys, headphone buttons and the Windows media panel before release catches most problems, since each uses the same session information.

Firefox and other browsers

Firefox also supports media keys through the Media Session feature and integrates with Windows media controls. It has an advanced setting, media.hardwaremediakeys.enabled, in about:config; setting it to false stops Firefox responding to hardware media keys. Brave, Vivaldi and Opera, built on Chromium, generally behave like Chrome and accept the same command-line switch, though their flag names may differ.

Restart Firefox after changing that preference. It affects only hardware keys; media in tabs still plays and can be controlled from the page or Windows' media panel. Safari on a Mac follows the system's Now Playing behavior and has no separate switch.

On Mac and Linux

On a Mac, media keys go to whichever app macOS considers the current Now Playing app, and Chrome and Edge participate the same way they do on Windows; the same flag and the same command-line switch, added when launching the browser from Terminal, apply. On Linux, browsers integrate with the desktop's media controls through a standard called MPRIS on many desktops, and the same Chromium switch works when starting the browser from a launcher or terminal. The principle is identical everywhere: the browser becomes a media player, and turning that off returns the keys to other apps.

Chromebooks handle media keys at the system level and send them to the active media in Chrome, with no equivalent switch for ordinary users.

Troubleshooting media key problems

  • Keys control the wrong app: close or pause the media in the browser tab holding the session, or disable browser media key handling.
  • Keys do nothing anywhere: check Fn lock and keyboard software.
  • Switch seems ignored: close every browser process and check the Command Line on the version page.
  • Flag missing: use the command-line switch instead.
  • Volume keys work, play/pause do not: no app holds a media session; start playback in your music app first.
  • Sound itself is missing: see our complete audio guide.

When several fixes seem to fail, restart the PC once: Windows' media session list sometimes keeps a stale entry until a restart clears it.

Ethan's setup

  1. Added --disable-features=HardwareMediaKeyHandling to his Edge taskbar shortcut.
  2. Turned off Startup boost so Edge fully closes.
  3. Confirmed the switch on edge://version.
  4. Set Edge's media autoplay to Limit.
  5. Kept Spotify's desktop app as his music player.

The whole change took five minutes and has not needed attention since, apart from checking once after a major Edge update.

He also pinned the Spotify desktop app next to Edge on the taskbar, so starting music in the right player is one click, which keeps the media session where he wants it from the start of the day. On the rare occasions he listens on YouTube, he uses the media button in Edge's toolbar instead of the keys, which works regardless of the switch.

If he ever switches browsers, the same five steps apply to the new one.

What this page said in 2019

When this page was first written in 2019, the new Chromium-based Edge had just added hardware media key support, and many users wanted to turn it off because it interfered with desktop music players. The original tip pointed to the browser flag. Since then, the flag has come and gone in different versions, while the command-line switch has remained the dependable fallback. This rewrite covers both, plus the Windows and keyboard side of the problem.

The underlying feature has only grown more important since, as more listening and watching moved into the browser.

If the flag returns or disappears again in future versions, the command-line switch section of this page will still apply.

Browser media keys: frequently asked questions

Why does my play key control YouTube instead of Spotify?

The browser holds the media session. Close the tab or disable browser media key handling.

How do I disable media keys in Chrome?

Set Hardware Media Key Handling to Disabled in chrome://flags, or use the command-line switch.

How do I disable media keys in Edge?

Same flag in edge://flags, or the same switch on Edge's shortcut.

The Hardware Media Key Handling flag is missing. Why?

It was removed in some versions; use --disable-features=HardwareMediaKeyHandling.

Where do I add the command-line switch?

At the end of the browser shortcut's Target box, after the closing quotation mark.

How do I check the switch is working?

Open chrome://version or edge://version and look at Command Line.

Why does the switch stop working?

The browser was started another way or was already running in the background.

How do I get rid of the media pop-up in Windows?

Turn off browser media key handling; the browser will stop appearing there.

Why do my media keys send F-keys?

Fn lock is set to function keys. Press Fn + Esc or change the firmware setting.

Do Bluetooth headphone buttons follow the same rules?

Yes. They control whichever app holds the media session.

What is the browser's media button?

A toolbar button that shows and controls media playing in tabs.

Does disabling media keys stop videos playing?

No. Videos play normally; only keyboard media keys stop controlling them.

How do I stop autoplay in Edge?

Settings > Cookies and site permissions > Media autoplay.

How do I disable media keys in Firefox?

Set media.hardwaremediakeys.enabled to false in about:config.

Should I keep media keys on in the browser?

Yes, if you mainly listen through web players.

Why does a paused video still take the keys?

A paused tab can keep its media session until closed.

Does Windows 11 have media controls?

Yes, in Quick Settings, opened with Windows + A.

Will a browser update undo the setting?

Flags may reset or disappear; the shortcut switch usually survives updates.

πŸ“š ALSO READ

More Edge, Chrome and Windows audio guides:

📌 Bookmark this; the shortcut switch outlasts the flag.

Ethan's play/pause key has stopped Spotify every time since, and forgotten YouTube tabs no longer ambush his calls. He still watches videos in the browser; he just controls them with the mouse or the media button. Media keys follow a simple rule, whoever played most recently wins, and once you know which app holds the session, you can decide who gets to win.

📌 If you keep one line from this page

Disable Hardware Media Key Handling in browser flags, or add --disable-features=HardwareMediaKeyHandling to the browser shortcut.

If keys do nothing at all, check Fn lock first.

Revision note. Written October 2, 2026, rewriting our 2019 tip on disabling media keys in the new Edge into a complete guide to browser media keys, the Windows media pop-up and keyboard media key problems. May your play key always find the right player.

Related