Closed Bug 1826115 Opened 2 years ago Closed 2 years ago

There is no PiP mode closed event

Categories

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

Firefox 111
enhancement

Tracking

()

RESOLVED DUPLICATE of bug 1463402

People

(Reporter: droidplus99, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/111.0

Steps to reproduce:

  1. Open a video
  2. Enter into PiP mode
  3. Close PiP window

Actual results:

Mozilla uses "MozTogglePictureInPicture" event on video element.
"MozTogglePictureInPicture" event fires on entering PiP mode but doesn't when closed

Expected results:

Support for official "enterpictureinpicture" and "leavepictureinpicture" events stated in MDN docs or "MozTogglePictureInPicture" event should trigger when PiP window is closed.

The Bugbug bot thinks this bug should belong to the 'Toolkit::Picture-in-Picture' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Picture-in-Picture
Product: Firefox → Toolkit
Severity: -- → N/A
Status: UNCONFIRMED → NEW
Ever confirmed: true
Status: NEW → RESOLVED
Closed: 2 years ago
Duplicate of bug: 1463402
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.