Closed Bug 2055069 Opened 3 months ago Closed 1 month ago

YouTube playback speed UI doesn't match rate value set from PiP player

Categories

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

defect
Points:
1

Tracking

()

VERIFIED FIXED
158 Branch
Tracking Status
firefox158 --- verified
firefox159 --- verified

People

(Reporter: kpatenio, Assigned: kpatenio)

References

Details

(Whiteboard: [fidefe-post-nova])

Attachments

(1 external file)

Note: this is a follow up to Bug 1875517. This issue was caught while reviewing the patch for that ticket.

STR:

  1. Ensure playback speed control pref (media.videocontrols.picture-in-picture.playback-speed.enabled) is enabled once landed
  2. Go to a youtube video
  3. Enable PiP
  4. Set playback speed on the PiP player

Expected: the youtube playback speed UI should match the rate selected in the PiP player
Actual: the speed is updated for the youtube video, but the UI does not match the set value

One possible fix is to add setPlaybackRate and getPlaybackRate overrides for our youtube wrapper. Currently, we try to get a reference to the youtube player to adjust the video volume and mute state. We can probably use the same approach to read and write the video's playback rate.

Whiteboard: [fidefe-post-nova]
Points: --- → 1
Assignee: nobody → kpatenio
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 158 Branch
QA Whiteboard: [qa-triage-done-c159/b158] [qa-ver-needed-c159/b158]
Flags: qe-verify+

Reproducible on a 2026-09-10 Firefox Nightly build on Windows 11.

Verified as fixed on Firefox Nightly 159.0a1 and Firefox 158.0b1 on Windows 11, Ubuntu 22, macOS 13.

Status: RESOLVED → VERIFIED
QA Whiteboard: [qa-triage-done-c159/b158] [qa-ver-needed-c159/b158] → [qa-triage-done-c159/b158] [qa-ver-done-c159/b158]
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: