Open Bug 1914163 Opened 1 year ago

PiP should also auto-trigger when minimizing the browser window or when covering the browser when a video is playing

Categories

(Toolkit :: Picture-in-Picture, enhancement)

Desktop
All
enhancement

Tracking

()

Tracking Status
firefox130 --- affected
firefox131 --- affected

People

(Reporter: danibodea, Unassigned)

Details

Note

  • After the implementation of bug 1647800, a PiP window will auto-trigger when playing a video and switching tabs, however, a PiP window is not auto-triggered when playing a video and minimizing the whole browser window, or when covering the playing video with another window.

Found in

  • Beta v130.0b6

Affected versions

  • Beta v130.0b6

Tested platforms

  • Affected platforms: all
  • Unaffected platforms: none

Steps to reproduce
Precondition: media.videocontrols.picture-in-picture.enable-when-switching-tabs.enabled = true

  1. Play a YT video (https://www.youtube.com/watch?v=J8DGjUv-Vjc).
  2. Minimize the browser or cover the browser window with another window.

Expected result

  • A PiP should auto-trigger with the playing video.

Actual result

  • A PiP does not auto-trigger, leaving the video playing in the background.

Regression range

  • This is not a regression, but an improvement suggestion.
You need to log in before you can comment on or make changes to this bug.