[Webkit-unassigned] [Bug 238540] New: Styles not working in WebVTT tracks delivered via HLS

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 30 01:38:12 PDT 2022


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

            Bug ID: 238540
           Summary: Styles not working in WebVTT tracks delivered via HLS
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Media
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: eran.kornblau at kaltura.com

Hi,

I'm trying to control the color of subtitles delivered over HLS/WebVTT, and it seems the styles are getting ignored
(tested on iPhone, but I assume it's on all devices).
I sent this info to the HLS team, and they suggested that I open a bug here...

Following some recent changes in EU regulations related to accessibility, this issue has become a bit urgent for us
(we received queries about this from multiple customers...)

My test stream URL is here (the styles are on the Spanish subs) –
https://www.kaltura.com/p/0/playManifest/entryId/0_z79l0t8f/format/applehttp/protocol/https/deliveryProfileId/20322/x.m3u8

A sample WebVTT fragment -

WEBVTT

STYLE
::cue(b) {
  color: peachpuff;
}

00:00:05.000 --> 00:00:10.000
<c.yellow.bg_blue.magenta.bg_black>This is magenta text on a black background</c>

00:00:10.000 --> 00:00:15.000
<b>bold text</b>

00:00:15.000 --> 00:00:20.000
<i>italic text</i>

Basic formatting (bold/italic/alignment) works fine, but not colors.

In addition, it seems that WebKit is missing the implementation of "Default text colors" <https://www.w3.org/TR/webvtt1/#default-text-color>
and "Default text background colors" <https://www.w3.org/TR/webvtt1/#default-text-background>

Thank you!

Eran

-- 
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/20220330/a13da487/attachment.htm>


More information about the webkit-unassigned mailing list