[Webkit-unassigned] [Bug 192366] New: TextTrack added after video is loaded is not rendered when caption appearance is Automatic

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 4 11:01:19 PST 2018


https://bugs.webkit.org/show_bug.cgi?id=192366

            Bug ID: 192366
           Summary: TextTrack added after video is loaded is not rendered
                    when caption appearance is Automatic
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Macintosh
                OS: macOS 10.14
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Media Elements
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: dev at choco.me

If captions display preference is set to automatic (MACaptionAppearanceGetDisplayType(kMACaptionAppearanceDomainUser) returns kMACaptionAppearanceDisplayTypeAutomatic) and a text track is added after the video has started playing, captions aren't shown.
To test:

1. Set caption display preferences to Automatic (MACaptionAppearanceSetDisplayType(kMACaptionAppearanceDomainUser, kMACaptionAppearanceDisplayTypeAutomatic);)
2. Visit https://iandevlin.com/html5/dynamic-track/
3. Press play on the video
4. Press Load Cues (which creates a TextTrack and the cues)
5. Captions aren't shown.
6. Reload the page
7. This time press Load Cues first
8. Press play on the video
9. Caption are now shown

Expected result:

If TextTrack is of kind "captions", the language is the same as navigator.language, and captions display preference is set to automatic, captions should be shown.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20181204/9432f243/attachment.html>


More information about the webkit-unassigned mailing list