You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the spec, the top of Hello should be at the mid vertical of the video, because lineAlign defaults to start.
Chrome/Chromecast/Opera do something completely different. They place the text such that 0% represents agains the top, and 100% represents text against the bottom (logical, but not to spec).
Firefox and Exoplayer (see google/ExoPlayer#6682) apparently DO default to lineAlign=start.
If you replace line:50% with line:50%,start, Chrome,Opera fail to parse, and position defaults. Firefox parses, but interprets center as end, and end as center.
Q:
1/ Does anyone know of a proposed change to behave like Chrome/Opera? If so, please reference.
2/ Does anyone have suggestions about how to achieve consistent vertical positioning across browsers?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
WebVTT usage is severely hobbled by the inconsistant implementation of
line:
interpetation.e.g.
According to the spec, the top of Hello should be at the mid vertical of the video, because lineAlign defaults to
start
.Chrome/Chromecast/Opera do something completely different. They place the text such that 0% represents agains the top, and 100% represents text against the bottom (logical, but not to spec).
Firefox and Exoplayer (see google/ExoPlayer#6682) apparently DO default to lineAlign=start.
If you replace
line:50%
withline:50%,start
, Chrome,Opera fail to parse, and position defaults. Firefox parses, but interprets center as end, and end as center.Q:
1/ Does anyone know of a proposed change to behave like Chrome/Opera? If so, please reference.
2/ Does anyone have suggestions about how to achieve consistent vertical positioning across browsers?
Beta Was this translation helpful? Give feedback.
All reactions