Subtitles are not centered #4015
Labels
status: archived
Archived and locked; will not be updated
type: bug
Something isn't working correctly
Milestone
Have you read the FAQ and checked for duplicate open issues? Yes
What version of Shaka Player are you using? 3.3.2
Can you reproduce the issue with our latest release version? Yes
Can you reproduce the issue with the latest code from
main
? YesAre you using the demo app or your own custom app? Both
If custom app, can you reproduce the issue using our demo app? Yes
What browser and OS are you using?
Any with MSE support
For embedded devices (smart TVs, etc.), what model and firmware version are you using?
What are the manifest and license server URIs?
N/A
What configuration are you using? What is the output of
player.getConfiguration()
?Default
What did you do?
Load a TTML subtitle without tts:textAlign
Example:
What did you expect to happen?
The subtitle should be centered by default.
What actually happened?
Text align value by default in TTML parser is START
https://github.com/shaka-project/shaka-player/blob/main/lib/text/ttml_text_parser.js#L548
I know that ShakaPlayer follows the specification, and also puts a comment in the code, but the rest of the players on the market by default the subtitles are centered, would you admit a PR to make this change?
The text was updated successfully, but these errors were encountered: