Closed Bug 1818054 Opened 1 year ago Closed 17 days ago

Vimeo captions do not display in PiP window

Categories

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

defect

Tracking

()

RESOLVED FIXED
128 Branch
Tracking Status
firefox128 --- fixed

People

(Reporter: me, Assigned: joe.scott.webster)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fidefe-pip3])

Attachments

(1 file, 2 obsolete files)

Tested in nightly 112.0a1 (2023-02-21):

  1. Go to https://player.vimeo.com/embed
  2. Enable any of the captions by using the CC button in the player
  3. Play the video
  4. Hit the Picture-in-Picture button

The PiP window should display those captions, but it does not.

The Vimeo player uses WebVTT files specified in <track> elements with the mode set to "hidden" for our custom display.

After some investigation, it looks like our issue here is that the setActiveTextTrack() function is checking for mode to be "showing" in order to consider a track active. PictureInPictureChild.jsm:setActiveTextTrack (called from PictureInPictureChild.jsm:setupTextTracks)

I confirmed that manually switching the track from "hidden" to "showing" results in the captions displaying properly in the PiP window.

We are happy to make changes to our player to get this working, but we can't universally change the mode to "showing". In other browsers, we do this in the player on enterpictureinpicture, but as far as I know, there is no equivalent for us to use in Firefox.

Blocks: 1765604
Severity: -- → S3
Priority: -- → P2
Whiteboard: [fidefe-pip3]
Priority: P2 → P1
Whiteboard: [fidefe-pip3] → fidefe-pip3
Whiteboard: fidefe-pip3 → [fidefe-pip3]
Whiteboard: [fidefe-pip3] → [fidefe-pip3][fidefe-quality-foundation]
Whiteboard: [fidefe-pip3][fidefe-quality-foundation] → [fidefe-pip3]

Hi,
We will add support for hidden mode, so Vimeo subs will be visible in Picture-in-Picture, no changes are necessary from your side.
We can't promise the exact release, but this is high on our backlog list.

Priority: P1 → P2
The content of attachment 9344806 [details] has been deleted for the following reason:

Spam
The content of attachment 9344805 [details] has been deleted for the following reason:

Spam
Attachment #9344805 - Attachment description: mymelons.jpg → (spam)
Attachment #9344806 - Attachment description: myhusband.jpg → (spam)
Assignee: nobody → joe.scott.webster
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Attachment #9399432 - Attachment description: Bug 1818054 - Create Vimeo PiP wrapper r=kpatenio → Bug 1818054 - Display PiP captions in Vimeo player r=kpatenio
Pushed by nbaumgardner@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/93c467e711d4
Display PiP captions in Vimeo player r=pip-reviewers,niklas
Status: ASSIGNED → RESOLVED
Closed: 17 days ago
Resolution: --- → FIXED
Target Milestone: --- → 128 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: