Open Bug 1893737 Opened 6 months ago Updated 1 month ago

Dailymotion captions no longer appear on PiP window

Categories

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

defect

Tracking

()

People

(Reporter: kpatenio, Unassigned)

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