Closed Bug 1546051 Opened 6 years ago Closed 5 years ago

Picture-in-picture switch displayed on Netflix previews

Categories

(Web Compatibility :: Interventions, task, P1)

Desktop
All

Tracking

(firefox70 wontfix, firefox71 wontfix, firefox72 wontfix, firefox73 wontfix, firefox74 wontfix, firefox75 wontfix, firefox76 wontfix, firefox77 wontfix, firefox78 fixed, firefox100 verified)

VERIFIED FIXED
Tracking Status
firefox70 --- wontfix
firefox71 --- wontfix
firefox72 --- wontfix
firefox73 --- wontfix
firefox74 --- wontfix
firefox75 --- wontfix
firefox76 --- wontfix
firefox77 --- wontfix
firefox78 --- fixed
firefox100 --- verified

People

(Reporter: flod, Assigned: miketaylr)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Attached image Screenshot

Currently the blue switch for PiP appears on Netflix previews, and overlaps with the rating controls.

If selected, it also seems to trigger a click on the preview, starting the movie. But it doesn't seem to happen all the time.

Ideally, it shouldn't be displayed on this type of content at all.

Blocks: 1521954
No longer blocks: 1527925
Blocks: 1527926
No longer blocks: 1521954
Priority: -- → P3

I am able to reproduce this. Doesn't seem to happen on all previews. But if you do click on the PiP for a preview, and close PiP, you could end up with a video playing in the background.

It's difficult for us to programmatically detect that this is a Netflix preview, unless we hard code in something to let us identify them. Perhaps that's something we could do with a WebCompat intervention?

Blocks: videopip
No longer blocks: 1527926

I think we could scope some CSS, to disable the toggle, to the https://www.netflix.com/browse page.

:miketaylr - would you be comfortable with using the webcompat system add-on to hide the PiP toggle on the Netflix browse page?

Flags: needinfo?(miket)

Adam, yeah -- presumably this won't be an intervention we ship forever (should we coordinate w/ Netflix?).

Any pointers on how we can write this intervention? Is there some magic class we should be looking for?

Flags: needinfo?(miket) → needinfo?(mconley)

Making it possible / easy for a WebExtension (even one with experiment-capabilities like WebCompat) to modify the position of the toggle wasn't part of the original design, so I'll have to come up with something.

So I think it's on me to figure out how to write the intervention (and then I'll probably just write it myself, but get someone on the WebCompat team to review it for me).

Flags: needinfo?(mconley)

That works! Will keep an eye out for PRs to https://github.com/mozilla/webcompat-addon.

Build ID 20191124230652
User Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:72.0) Gecko/20100101 Firefox/72.0

Reproducible also on Nightly 72 on macOS 10.13 platform.

OS: Unspecified → All
Hardware: Unspecified → Desktop

Reproducible on Nightly 74 and Beta 73.

Reproducible on latest Nightly 77.0a1 (2020-04-29) on MacOS 10.14

Blocks: 1631858
Assignee: nobody → miket
Severity: normal → N/A
Type: defect → task
Component: Video/Audio Controls → Desktop
Priority: P3 → P1
Product: Toolkit → Web Compatibility
Component: Desktop → Interventions
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED

I have verified this fix in Nightly v100.0a1 on Windows 10, Ubuntu 22 and Mac OS 11.
The PiP toggle does not appear on preview videos (on the https://www.netflix.com/browse page).

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

Attachment

General

Created:
Updated:
Size: