Open Bug 2055069 Opened 1 month ago Updated 20 days 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

()

People

(Reporter: kpatenio, Unassigned)

References

Details

(Whiteboard: [fidefe-post-nova])

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
You need to log in before you can comment on or make changes to this bug.