sodcalculator

10 Tech How-To

Picture-in-Picture Mode in Firefox: How-To

Guide 10-57406 · Updated · Step by step

Picture-in-Picture (PiP) lets you pop a video out of its webpage into a small, always-on-top window that floats over other tabs and apps. It is built into Firefox for Windows, macOS, and Linux, so no extension is needed. This guide shows you how to enable it, control it, and fix common issues.

What You’ll Need

  • Firefox browser (current version, updated via About Firefox)
  • A webpage with an HTML5 video (most sites like YouTube, Vimeo, and Twitch use this)

Step-by-Step

  1. Open the video in Firefox. It can be embedded or full-screen.
  2. Hover over the video. A small blue icon with a white rectangle and arrow appears in the top-right corner of the video (on Windows and Linux) or bottom-right (on macOS). This is the Picture-in-Picture toggle.
  3. Click the icon. The video will detach into a floating window that stays on top of all other windows.
  4. Move the PiP window by dragging its title bar. Resize it by dragging any edge or corner.
  5. Control playback using the buttons inside the PiP window: play/pause, mute/unmute, and close (X).
  6. Return to the original page by clicking the PiP icon again (the same icon now appears on the floating window) or by closing the PiP window with the X button—the video will go back to the webpage.

Common Mistakes

  • Hovering too quickly: The PiP icon only appears after a brief pause. Move your mouse slowly over the video and wait about half a second.
  • Using a video that isn’t HTML5: Some sites use Flash or custom players that don’t support PiP. Try a different site or update the page.
  • Clicking the icon on the wrong element: On pages with multiple videos, make sure you hover directly over the video you want.
  • Expecting PiP in fullscreen: The PiP icon is hidden when the video is in fullscreen mode. Exit fullscreen first (press F11 or Esc).

Tips

  • Keyboard shortcut: Use Ctrl+Shift+] (Windows/Linux) or Cmd+Shift+] (macOS) to toggle PiP without hovering.
  • Double-click to play/pause inside the PiP window.
  • Pin the PiP window to always stay on top of other apps, not just Firefox—it does this by default.
  • Use PiP with multiple videos: You can have several PiP windows open at once.
  • Adjust PiP size: Drag the corners to make it as small or large as you like.

Troubleshooting

Icon doesn’t appear: First, make sure you’re hovering over the video itself, not the page background. If it still doesn’t show, the site may have disabled PiP. Try right-clicking the video and selecting “Picture-in-Picture” from the context menu. If that option is grayed out, the video is not supported.

PiP doesn’t work on YouTube: YouTube sometimes uses a custom player. Try refreshing the page or disabling any extensions that might interfere. You can also try the keyboard shortcut.

PiP window is too small or large: Resize it manually by dragging the edges. Firefox remembers the size for future PiP windows.

Video stops playing when PiP is opened: This can happen if the site’s player doesn’t support background playback. Try pausing and resuming, or use a different browser.

PiP freezes or flickers: Update your graphics drivers and Firefox to the latest version. Also try disabling hardware acceleration in Firefox settings (Options > General > Performance).

PiP is not available on Linux: Some Linux distributions may need additional codecs or a different Firefox package. Install the official Mozilla build or enable proprietary codecs.

Frequently Asked Questions

Does Picture-in-Picture work on all websites? No, only on sites that use HTML5 video. Flash-based players won’t work.

Can I use PiP while browsing in fullscreen? Yes, the PiP window floats above fullscreen apps, but you need to exit fullscreen on the video itself to see the PiP icon.

How do I turn off Picture-in-Picture permanently? You can disable the icon by going to Firefox Settings > General > Browsing and unchecking “Enable picture-in-picture video controls.” However, you can still use the keyboard shortcut.

Can I move the PiP window to another monitor? Yes, just drag it to the desired monitor. It will stay on top there.

Does PiP work with Netflix or Hulu? These sites use DRM-protected video, which may not support PiP. Try it; if it doesn’t work, it’s due to the site’s restrictions.

Can I resize the PiP window to any size? Yes, within reasonable limits. You can make it as small as a few hundred pixels or as large as your screen.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →