Closed Bug 1697616 Opened 3 years ago Closed 3 years ago

PiP on video with unsupported mimetype shows a tiny window

Categories

(Toolkit :: Video/Audio Controls, defect, P5)

defect

Tracking

()

RESOLVED FIXED
89 Branch
Tracking Status
firefox89 --- fixed

People

(Reporter: ntim, Assigned: katkoor2)

References

(Blocks 2 open bugs)

Details

Attachments

(2 files)

Attached image image.png

Thanks for filing this Tim! As discussed earlier on Matrix it seems a bit odd the video controls are showing for you in this screenshot.

Just so I can better understand how the PiP window was opened, did you do this through the pip toggle button? Or the keyboard shortcut?

Flags: needinfo?(ntim.bugs)

(In reply to Micah Tigley [:mtigley] from comment #1)

Thanks for filing this Tim! As discussed earlier on Matrix it seems a bit odd the video controls are showing for you in this screenshot.

Just so I can better understand how the PiP window was opened, did you do this through the pip toggle button? Or the keyboard shortcut?

I toggled it through the PiP button. I can check if I have any prefs that may have affected this.

Flags: needinfo?(ntim.bugs)

Ah sorry, I just saw I had toggled media.videocontrols.picture-in-picture.video-toggle.always-show locally a while ago.

(In reply to Tim Nguyen :ntim from comment #3)

Ah sorry, I just saw I had toggled media.videocontrols.picture-in-picture.video-toggle.always-show locally a while ago.

Thanks! That did it :)

I discussed this with Swapnik over Matix earlier but wanted to reiterate it here for visibility. He proposed that we should hide the PiP toggle button if the source video has no video duration (or is just invalid) regardless of the pref setting. To do this, we might want to start looking at shouldShowPictureInPictureToggle and update the checks to include a valid video duration.

Assignee: nobody → katkoor2
Status: NEW → ASSIGNED
Severity: -- → S3
Priority: -- → P5
Pushed by mtigley@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/949a9ebf7fff
Hide toggle when video duration is NaN. r=mtigley,mhowell
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 89 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: