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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 8 02:40:18 PDT 2022


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

Przemyslaw Gorszkowski <pgorszkowski at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pgorszkowski at gmail.com

--- Comment #2 from Przemyslaw Gorszkowski <pgorszkowski at gmail.com> ---
Hi Eran,

I think I found the reason of the problem and I am working on the fix for it. There are missing implementation of the defaults definition of css classes in in file: https://trac.webkit.org/browser/webkit/trunk/Source/WebCore/css/mediaControls.css

In mean time you can try some workarounds for your problem:
1. if you can modify the WebVTT files you can add there css classes for missing defaults, e.g.:
STYLE
::cue(.magenta) {
  color: rgba(255,0,255,1);
}

2. if you can't modify the WebVTT files but you can modify the css in the HTML site on which your stream is used then you can also do this, e.g.:
::cue(.magenta) {
  color: rgba(255,0,255,1);
}


You can specify in such way any classes you would like to use in your WebVTT files.

In the meantime I will try to push my fix and cross fingers for positive review:)

-- 
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/20220708/1440a1d3/attachment.htm>


More information about the webkit-unassigned mailing list