Closed Bug 1757335 Opened 2 years ago Closed 2 years ago

PiP captions for YouTube video will stop updating after YouTube tab has been in the background for a while

Categories

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

defect

Tracking

()

RESOLVED DUPLICATE of bug 1755748

People

(Reporter: mconley, Unassigned)

References

Details

(Whiteboard: [fidefe-MR1-2022])

STR:

  1. Set media.videocontrols.picture-in-picture.display-text-tracks.enabled to true in about:config
  2. Visit https://www.youtube.com/watch?v=OMfDp3Uk4EE and turn on captions. Make sure you've reached a part of the video where captions are coming in often.
  3. Put the video into Picture-in-Picture
  4. Put the originating tab into the background, and while listening to the video, watch the PiP player window captions

ER:

The player window captions and subtitles should continue to update regardless of how much time the originating tab has been in the background.

AR:

After a few seconds (maybe 5 - 10), the captions and subtitles start updating farrrrr less frequently. The conversation will proceed, but an old caption from seconds ago will still be displayed. Interestingly, you can "jump start" the captions to update by hovering the originating tab with the mouse (you don't even need to select it).

Note that hovering a tab like that causes us to "warm" it (pre-emptively paint it) so that we can switch faster to it if the user clicks... so that painting might be involved in the jump-start effect.

Also, I don't think this is a general issue with our text track support here. I think YouTube is doing some kind of performance optimization after it notices that it's been sitting in the background for a while.

See Also: → 1755748

Also see bug 1598654, which likely has similar causes (that one doesn't deal with captions that don't update, but videos that switch to low-quality when their originating tabs are backgrounded).

See Also: → 1598654

Upon closer inspection, this seems to be a dupe of bug 1755748.

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → DUPLICATE
Whiteboard: [fidefe-MR1-2022]
No longer blocks: 1751505
See Also: 1755748, 1598654
You need to log in before you can comment on or make changes to this bug.