Closed Bug 1893737 Opened 1 years ago Closed 11 months ago

Dailymotion captions no longer appear on PiP window

Categories

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

defect

Tracking

()

VERIFIED FIXED
134 Branch
Tracking Status
firefox134 --- verified
firefox135 --- verified

People

(Reporter: kpatenio, Unassigned)

References

Details

STR:

  1. Open a Dailymotion video with captions. Ex. https://www.dailymotion.com/video/x86xb3b
  2. Enable captions on the video
  3. Open PiP window

Expected:

  • PiP window should have captions shown on the video

Actual:

  • There are no captions

Notes:

Severity: -- → S3
Has STR: --- → yes
Priority: -- → P3

Looking back, I think we can utilize a div.player div.subtitles element in the page to read the subtitles text content. Doing so requires these changes:

  1. Updating the container element. Looks like we can modify the query to read a div with a class player. The element is a parent of the video.
  2. Updating the text node list to read the contents of a div with a class subtitles.

Other notes:

  • The subtitles rendered on the PiP window should disappear if none are displayed on the original video. This includes whenever there's no text to render, or when cc is disabled.

Resolving as FIXED, addressed by patch for Bug 1920315.

Status: NEW → RESOLVED
Closed: 11 months ago
Resolution: --- → FIXED
Depends on: 1920315
Target Milestone: --- → 134 Branch
Flags: qe-verify+

Reproducible on a 2024-04-26 Nightly build on Windows 10.
Verified as fixed on Firefox Nightly 135.0a1 and Firefox 134.0b2 on Windows 10, macOS 14, Ubuntu 22.

Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.