Firefox 的「子母畫面」功能

修訂版本資訊
  • 編修 ID: 193141
  • 建立於:
  • 建立者: YangNianen
  • 意見: 部分繁體化
  • 審核過:
  • 審核過:
  • 審核人: petercpg
  • 通過審核?
  • 這是現行的版本嗎?
  • 已可進行在地化翻譯
編修來源
編修內容

Available in Firefox version 71 for Windows and 72 for MacOS and Linux, the Picture-in-Picture feature allows you to pop videos out of their webpage into a floating, always on top, window so you can watch while continuing to work in other tabs. You can move the Picture-in-Picture window around the screen and resize it to your liking.

Using picture-in-picture

Toggle

The Picture-in-Picture toggle appears when you hover over videos with the mouse cursor. It is a small blue rectangle that slides out when you hover over it. Clicking on the blue rectangle will open the underlying video in the Picture-in-Picture player window.

toggle picture in picture

This feature is designed to work on most web videos. Though some videos will not display the blue toggle hovering over it. We only show it for videos that include an audio track, and that are also of sufficient size and play length.

The blue toggle doesn't appear when a video is on full screen.

Context Menu

Another way to access Picture-in-Picture is via the context menu. If right-click on a web video, you’ll sometimes see the media context menu that looks like this:

context picture in picture

There’s a Picture-in-Picture menu item in that context menu that you can use to toggle the feature.

Many sites, however, make it difficult to access the context menu for web videos. YouTube, for example, overrides the default context menu with their own.

You can get to the default native context menu by either holding Shift while right-clicking, or double right-clicking.

When a video is on full screen, the Picture-in-Picture menu item is not included in the context menu. You have to exit full screen to switch to Picture-in-Picture through the blue toggle or the context menu. (Note: The keyboard shortcut works on full screen.)

Keyboard shortcut

To access via the keyboard press the combination CtrlCmd + Shift + ] or CtrlCmd + Shift + }. Firefox will attempt to launch the most relevant video on the page into a Picture-in-Picture window.

Player window

The Picture-in-Picture window also gives you the ability to quickly picture-in-picture play control play or picture-in-picture pause control pause the video — hovering the video with your mouse will expose that control, as well as a control for picture-in-picture close control closing the window, and picture-in-picture close-and-go-to-tab control closing the window while returning you to the tab that the video came from.

Video placeholder on the page

When a video is in Picture-in-Picture view, the video placeholder on the page shows the message This video is playing in Picture-in-Picture mode. You can still use the video controls on the placeholder, such as play/pause, volume, and full screen.

playing in picture-in-picture

Disabling the Picture-in-Picture toggle

If you prefer to disable the blue toggle, so it does not appear over top of videos there are two easy ways to do that. Either on a site that has a supported video or in the Settings menu.

Using the Picture-in-Picture toggle to disable it

  1. Find a video where you can see the blue Picture-in-Picture toggle.
  2. Right click on the blue toggle.
  3. Click Hide Picture-in-Picture toggle.
disable picture in picture

Enabling / disabling the Picture-in-Picture toggle in Settings

若您不想在游標停在影片上時看見這個選項,可以在 Firefox 的設定中選擇隱藏它。 (註:您仍可以右鍵點選影片使用子母畫面功能。) 或者可以透過以下方法重新讓選項出現。

  1. 在畫面頂端的選單列點擊 Firefox 並選擇 設定(在舊版 macOS 上選擇 偏好設定)。點擊選單按鈕 Fx89menuButton 後,選擇 設定
  2. 往下拉至 瀏覽 的部分
  3. 取消勾選「開啟影片子母畫面播放控制元件 (E)」
    FXsettings-UncheckPIP_zh-TW

如果您之後想要重新啟動控制元件,請重新勾選這個選項即可。