Files
shaka-player/ui/less
Theodore Abshire 697a565051 Change positioning of line-positioned subtitles.
Previously, we were positioning subtitles relative to the video,
but this lead to problems with subtitles that were manually positioned
(via the line attribute) to be low (85% or lower); they would overlap
with the controls bar, and thus be hidden.

This changes cues to be positioned relative to the text-usable area of
the screen (e.g. the space above the controls bar). In addition, the
less values have been changed to not trim cues that extend out of the
container, so that if they do overlap with the controls, they aren't
clipped in an ugly way.
Examining the Chrome native controls, this appears to be closer to how
they render captions.

Fixes #2524

Change-Id: I4500b8f637f3f43f48d019d14ef527e75d960fec
2020-05-01 20:31:55 +00:00
..
2020-02-11 19:09:44 +00:00
2020-02-11 19:09:44 +00:00