fix(FEC-12648): Text style configuration is not working #669
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description of the Changes
solves: FEC-12648
Findings:
1. by Default, the player uses its own text displayer and not the browser's native one
2. there are two level of text style (in PKTextConfigObject type):
textTrackDisplaySetting: PKTextTrackDisplaySettingObject,
textStyle: PKTextStyleObject,forceCenter: boolean,
3. by default both of them work
4. in case you use the browser native text tracks (useNativeTextTrack set to true) - only textStyle works
5. in case you use Shaka text displayer (useShakaTextTrackDisplay set to true) - none of them work
CheckLists