Closed Bug 1763243 Opened 2 years ago Closed 2 years ago

Investigate the best way to avoid extraneous line breaks in auto-generated subtitles on Youtube

Categories

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

Desktop
All
defect

Tracking

()

VERIFIED FIXED
101 Branch
Tracking Status
firefox-esr91 --- disabled
firefox100 --- wontfix
firefox101 --- verified
firefox102 --- verified

People

(Reporter: niklas, Assigned: niklas)

References

Details

Attachments

(1 file)

In auto-generated Youtube subtitles, PiP creates extraneous line breaks, worsening subtitles readability. This occurs because we respect both the line breaks received from YouTube and line breaks occurring when max-width of the subtitles container is reached.

As discussed, some possible approaches could be:
detecting auto-generated subs and forcing Youtube’s caption container width to PiP max-width or detecting auto-generated subs and ignoring line breaks.

Assignee: nobody → nbaumgardner
Status: NEW → ASSIGNED

The severity field is not set for this bug.
:mconley, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(mconley)
Severity: -- → S2
Flags: needinfo?(mconley)
Pushed by nbaumgardner@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/edfc7bfc1175
Increase text-track width on PiP windows. r=pip-reviewers,desktop-theme-reviewers,kpatenio
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 101 Branch

I have verified this fix in Nightly v102.0a1 and Beta v101.0 (RC) and confirmed that the original issue is still reproducing in older branches.

Status: RESOLVED → VERIFIED
OS: Unspecified → All
Hardware: Unspecified → Desktop
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: