Closed kumarashu123 closed 3 years ago
tts: textOutline
does not yet support the TTML parser https://github.com/google/shaka-player/blob/master/lib/text/ttml_text_parser.js.
According to the w3g's wiki, this property is being deprecated, due to the corresponding CSS property not being supported by browsers.
Despite that, though, we could replicate most of the tts:textOutline
property using the non-standard -webkit-text-stroke-width
and -webkit-text-stroke-color
properties.
We would be unable to replicate the blur radius, but it looks like you aren't using the blur radius feature anyway.
Have you read the FAQ and checked for duplicate open issues? yes
What version of Shaka Player are you using? 2.5.10
Can you reproduce the issue with our latest release version? Yes
Can you reproduce the issue with the latest code from
master
? YesAre you using the demo app or your own custom app? Custom App
If custom app, can you reproduce the issue using our demo app? Yes
What browser and OS are you using? Version 92.0.4515.159 (Official Build) (x86_64), MAC Big Sur Version 11.4 (20F71)
For embedded devices (smart TVs, etc.), what model and firmware version are you using? N/A
What are the manifest and license server URIs?
What configuration are you using? What is the output of
player.getConfiguration()
?What did you do? Play the asset and observe tts:textOutline is not getting applied
What did you expect to happen? tts:textOutline should be applied. As in ttml doc i see tts:textOutline is present https://www.w3.org/TR/2018/REC-ttml1-20181108/#style-attribute-textOutline
What actually happened?
tts:textOutline is not applied
Below is the sample ttml file