[Webkit-unassigned] [Bug 216632] New: AX: Embedded CSS in WebVTT is not considered if vtt file is referenced from playlist

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 16 19:33:06 PDT 2020


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

            Bug ID: 216632
           Summary: AX: Embedded CSS in WebVTT is not considered if vtt
                    file is referenced from playlist
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Macintosh
                OS: macOS 10.15
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Accessibility
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: shivaksk1 at gmail.com
                CC: webkit-bug-importer at group.apple.com

Created attachment 408981

  --> https://bugs.webkit.org/attachment.cgi?id=408981&action=review

Sample WebVTT file

Hi,

The inline styles defined in the WebVTT file work fine if the vtt file is included explicitly as a <track> inside the media element.

For example:
<video id="video" autoplay muted controls src="https://localhost/apple/bipbop.m3u8" width=512>
    <track kind=subtitles label="eng" src="https://localhost/apple/subs/unforced/fileSequence0.webvtt" srclang=en>
</video>

However, if the same vtt file is referenced from an m3u8 playlist, the inline styles seem to be ignored.

Stream used: https://devstreaming-cdn.apple.com/videos/streaming/examples/bipbop_16x9/bipbop_16x9_variant.m3u8
[I have downloaded the vtt files locally, and added the inline styles]

Operating System: macOS Catalina (10.15.5)
Browser: Safari (13.1.1)

The .vtt file is attached.

Snippet from the .vtt file:
WEBVTT
X-TIMESTAMP-MAP=MPEGTS:900000,LOCAL:00:00:00.000

STYLE
::cue {
 font-family: Arial;
 font-size: 30px;
 font-style: normal;
 font-weight: normal;
 background-color: yellow;
 color: red;
 outline-color: black 2px;
 text-align: center;
}

00:00:00.000 --> 00:00:03.000
<c>English subtitle 1 -Unforced- (00:00:01.000)</c>

00:00:03.000 --> 00:00:05.000
<i>English subtitle 2 -Unforced- (00:00:03.000)</i>
<i>Italics</i>

Regards,
Shiva

-- 
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/20200917/5ecb1e9b/attachment-0001.htm>


More information about the webkit-unassigned mailing list