Disable Floating Window in Chrome on Microsoft and Xiaomi
In this article
This guide shows you how to turn off the floating picture-in-picture (PiP) window that appears when you play a video in Chrome on Microsoft (Windows) and Xiaomi (Android) devices. Disabling it stops videos from popping out into a small always-on-top window when you switch tabs or apps. You don't need any special tools—just a few minutes and access to Chrome's settings.
What You'll Need
- A device running Windows (for Microsoft) or Android (for Xiaomi) with Chrome installed.
- Administrator or owner access to the device (for Windows, you may need to change a registry key, which requires admin rights).
- For Windows: the Chrome browser must be closed before editing the registry.
Step-by-Step
On Microsoft (Windows) – Disable Chrome's Picture-in-Picture
- Close Chrome completely. Make sure no Chrome windows or background processes are running. You can check the system tray for the Chrome icon and right-click it, then select "Exit" or "Close window".
- Open the Registry Editor. Press Win + R to open the Run dialog, type
regedit, and press Enter. Click "Yes" if a User Account Control prompt appears. - Navigate to Chrome's policy key. In the Registry Editor, go to the following path:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome
If theGoogleorChromefolders don't exist, you'll need to create them: right-click onPolicies, selectNew→Key, name itGoogle. Then right-click onGoogle, create a new key namedChrome. - Create a new DWORD value. Inside the
Chromekey, right-click on the empty space, selectNew→DWORD (32-bit) Value, and name itPictureInPictureEnabled. - Set the value to 0. Double-click the new
PictureInPictureEnabledvalue, set "Value data" to0, and click OK. This disables the feature. - Restart Chrome. Open Chrome again. The floating window should no longer appear when you switch tabs or minimize the browser.
On Xiaomi (Android) – Disable Chrome's Picture-in-Picture
- Open Chrome. Tap the Chrome icon on your Xiaomi device.
- Access Chrome settings. Tap the three-dot menu (⋮) in the top-right corner, then select
Settings. - Go to Site settings. Scroll down and tap
Site settings. This may be under a "Advanced" section depending on your Chrome version. - Find Picture-in-picture. Scroll through the list of permissions until you find
Picture-in-picture. Tap it. - Block the permission. On the Picture-in-picture settings page, tap the toggle to turn it off (or select "Block" if it shows a drop-down menu). This will prevent websites from opening the floating window.
- Return to the video. Go back to the site you were watching. The floating window should no longer appear when you leave the page.
Note for Xiaomi: Some Xiaomi devices (like those with MIUI or HyperOS) have a system-level "Video toolbox" or "floating windows" feature that can also trigger pop-out windows. If the above steps don't help, check your Xiaomi settings:
- Go to
Settings→Additional settings→Video toolboxand turn it off. - Or go to
Settings→Apps→Manage apps→Chrome→Other permissionsand disable "Display pop-up windows" (if available).
Common Mistakes
- Editing the registry while Chrome is running: If Chrome is open, the registry change may not take effect or could be overwritten. Always close Chrome completely first.
- Creating the DWORD in the wrong location: The value must be under
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome. Putting it elsewhere (like under HKEY_CURRENT_USER) may not work. - Using a string value instead of DWORD: The registry value must be a DWORD (32-bit), not a string or QWORD.
- On Xiaomi, turning off the wrong setting: Some users disable "Picture-in-picture" in the system settings (under Apps) but that only affects system apps. You need to change the permission within Chrome's own site settings.
Tips
- Test with a known video: After making changes, open a YouTube video and switch to another tab to see if the floating window still appears.
- Use Incognito mode to test: If you want to verify the change without affecting your normal browsing, test in an Incognito window (but note that the registry change applies globally; the site permission on Xiaomi is per-site, so you'll need to block it for each site you visit).
- On Xiaomi, block all sites at once: In the Picture-in-picture permission page, you can also tap "Block all sites" if you don't want to manage individual sites.
- Re-enabling is easy: To undo the change on Windows, set the DWORD value back to
1or delete thePictureInPictureEnabledvalue. On Xiaomi, just re-enable the permission.
Troubleshooting
- The floating window still appears after the registry change. Make sure you set the value to
0and that Chrome is fully closed when you edit the registry. Also, check that you're looking at the correct path. If it still doesn't work, try restarting your computer. - On Xiaomi, the toggle is greyed out or not available. Some Chrome versions or Android builds may not allow per-site blocking. In that case, try the system-level "Video toolbox" or "Display pop-up windows" option as described above.
- Chrome doesn't start after the registry change. If Chrome fails to launch, double-check that the DWORD value is named exactly
PictureInPictureEnabledand that the value data is0. If problems persist, delete the value and restart Chrome. - On Xiaomi, the floating window appears for apps other than Chrome. That's likely the system's "floating windows" feature, not Chrome's PiP. Go to
Settings→Apps→Manage apps→Chrome→Other permissionsand disable "Display pop-up windows".
Frequently Asked Questions
Will this disable all pop-up videos in Chrome?
Yes, on Windows, the registry change disables Chrome's built-in Picture-in-Picture feature entirely, so no site can trigger the floating window. On Xiaomi, blocking the permission in Chrome's site settings will prevent the floating window for all sites (if you choose "Block all sites").
Does this affect YouTube specifically?
No, it affects all websites that use the Picture-in-Picture API, including YouTube, Vimeo, and others.
Can I still watch videos in a separate window after disabling?
No, the floating window is the only way Chrome provides to watch a video while using other apps. If you disable it, you'll need to stay on the tab to watch the video.
Will this setting sync across my devices?
The registry change on Windows is local to that computer. The site permission on Xiaomi is also local to that device. Chrome does not sync these specific settings.
Is it safe to edit the Windows registry?
Yes, if you follow the steps carefully. Editing the registry can cause problems if you delete or modify unrelated keys, but creating a new DWORD under the Chrome policy key is safe and reversible.
What if I change my mind later?
On Windows, go back to the same registry key and set the value to 1 or delete the PictureInPictureEnabled value. On Xiaomi, go to Chrome's site settings and re-enable the Picture-in-picture permission.