Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(emulated-tracks): add class to force cues to be center aligned (v…
…ideojs#8625) videojs/http-streaming#1408 updated 608 captions to default to be left aligned. This may be unwanted by some folks and we should provide an easier way to force them to be centered. This PR adds a player level class that will override the text alignment to be `center`. It also overrides the `width` to `80%` because otherwise the cue box isn't set up correctly to be 10% from the right of the display area (a side effect of hardcoding a width value and using inset in the generation of the cues).
- Loading branch information