media/library
ibaker 0dd57de1f1 Parse TTML's tts:textAlign into Cue.textAlign, not an AlignmentSpan
The tts:textAlign property only applies to <p> elements, which
correspond 1:1 with ExoPlayer Cue objects, so we can use
Cue.textAlignment to store this info instead of encoding it in
the span-styled text.

This will mean that TTML subtitles used with
SubtitleView#setApplyEmbeddedStyles(false) will start respecting
the tts:textAlign properties from the source data (currently this
information is stripped when we remove all span styling). I think this
is working-as-intended, we respect alignment of other subtitle types
(e.g. WebVTT) when applyEmbeddedStyles=false. We also respect all other
'positioning' related properties in this case e.g. Cue.position and
Cue.line.

PiperOrigin-RevId: 310895499
2020-05-14 22:19:50 +01:00
..
all Use new exoplayer.dev domain everywhere. 2019-04-16 15:25:27 +01:00
common Add Player#getTrackSelector() 2020-05-14 22:17:51 +01:00
core Parse TTML's tts:textAlign into Cue.textAlign, not an AlignmentSpan 2020-05-14 22:19:50 +01:00
dash Pass LoadErrorInfo to LoadErrorHandlingPolcy 2020-05-05 18:37:57 +01:00
extractor Parse AAC initialisation data in MatroskaExtractor 2020-05-06 20:57:53 +01:00
hls Merge pull request #7328 from TiVo:include-roleflags-in-final-format 2020-05-05 18:39:38 +01:00
smoothstreaming Pass LoadErrorInfo to LoadErrorHandlingPolcy 2020-05-05 18:37:57 +01:00
ui Change the SubtitleView.Output interface 2020-05-14 22:18:37 +01:00
README.md Tweak and add READMEs + remove refs to V1 2017-08-17 22:59:34 +01:00

ExoPlayer library

The ExoPlayer library is split into multiple modules. See ExoPlayer's top level README for more information about the available library modules and how to use them.