Closed Bug 1826715 Opened 1 year ago Closed 1 year ago

Autoplay blocking feature prevents Picture-in-Picture playback for unmuted video without page interaction

Categories

(Toolkit :: Picture-in-Picture, defect, P3)

Firefox 113
defect

Tracking

()

VERIFIED FIXED
114 Branch
Tracking Status
firefox113 --- wontfix
firefox114 --- verified

People

(Reporter: ke5trel, Assigned: molly)

References

Details

Attachments

(1 file)

STR:

  1. Directly open a youtube video that is not muted in a new tab so it does not autoplay by default.
  2. Without interacting with the page, press the PiP keyboard shortcut Ctrl+Shift+] or click the PiP toggle in the address bar.
  3. Click the play button in the PiP window.

Expected:
Video starts playing.

Actual:
Nothing happens. Skipping/scrubbing through the video works but not playback until the video is muted or the page is interacted with to pass the autoplay block.

Severity: -- → S4
Priority: -- → P3

The new PiP button in the address bar (Bug 1811318) significantly increases the exposure of this bug. Previously it was limited to the keyboard shortcut but that had low discoverability.

Blocks: 1811318

I was about to just increase the severity on this bug because I agree that the address bar button makes this a worse problem, but then I thought about it too much and now I have a patch, so...

Assignee: nobody → mhowell
Severity: S4 → S3
Status: NEW → ASSIGNED
Pushed by mhowell@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/2146f9f3e271
Manually mark a document as activated when a PIP window is opened from it. r=pip-reviewers,kpatenio
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 114 Branch

The patch landed in nightly and beta is affected.
:mhowell, is this bug important enough to require an uplift?

  • If yes, please nominate the patch for beta approval.
  • If no, please set status-firefox113 to wontfix.

For more information, please visit auto_nag documentation.

Flags: needinfo?(mhowell)
Flags: needinfo?(mhowell)

I have verified the fix using Nightly 114.0a1 (20230425093238) on Windows 10, MacOS 11 and Ubuntu 20.04.

Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: