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)
Toolkit
Picture-in-Picture
Tracking
()
VERIFIED
FIXED
134 Branch
People
(Reporter: kpatenio, Unassigned)
References
Details
STR:
- Open a Dailymotion video with captions. Ex. https://www.dailymotion.com/video/x86xb3b
- Enable captions on the video
- Open PiP window
Expected:
- PiP window should have captions shown on the video
Actual:
- There are no captions
Notes:
- We already have a Dailymotion wrapper, but the wrapper no longer works. I suspect that this has something to do with videos now being loaded in an iframe, and the video src url does not match what's found in the overrides. If that is the case, this is similar to Bug 1825105 and Bug 1890807.
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:
- Updating the container element. Looks like we can modify the query to read a
div
with a classplayer
. The element is a parent of the video. - Updating the text node list to read the contents of a
div
with a classsubtitles
.
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
Updated•11 months ago
|
Updated•11 months ago
|
Flags: qe-verify+
Comment 3•11 months ago
|
||
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.
You need to log in
before you can comment on or make changes to this bug.
Description
•