-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
shaka-ui: Subtitles vertical alignment #4446
Comments
The current implementation only takes into account %, when using numbers there are no positioning. I have tried and 0% is positioned at the top, which is correct. Can you try on the main branch and see if it reproduces the same results? Thanks! |
I have updated my minimal app with 4.3.9, and 0% seems to be correctly at the top, while |
Hi @avelad Hope you're doing great. Just want to doublecheck. I'm experiencing the issue with vertical alignment in % on Chromecast (CAST SDK CAF Version: 3.0.0111 which has shaka-player 4.3.4 under the hood). So 0% working fine, but then every percent moving the position too much lower which end up 14% being at the very bottom of the screen. Do you have any idea if it's fixable or already in some roadmap? TIA |
I don’t know about the CAF implementation, maybe @theodab knows |
Have you read the FAQ and checked for duplicate open issues?
yes
What version of Shaka Player are you using?
4.2.0
Can you reproduce the issue with our latest release version?
yes
Can you reproduce the issue with the latest code from
main
?I have not tried.
Are you using the demo app or your own custom app?
custom app
If custom app, can you reproduce the issue using our demo app?
not applicable
What browser and OS are you using?
Mac firefox & chrome all up to date
For embedded devices (smart TVs, etc.), what model and firmware version are you using?
not applicable
What are the manifest and license server URIs?
see below
What configuration are you using? What is the output of
player.getConfiguration()
?default configuration using shaka-ui, see
player.getConfiguration()
here: https://gist.github.com/Warry/7f8ceced39286fcd6410e4607c4d3695What did you do?
I have created a SSCCE (minimal app) that loads a dash manifest with a video and subtitles, follow the link then play:
https://cdn.githubraw.com/Warry/shaka-bug/main/index.html
source code: https://github.com/Warry/shaka-bug
What did you expect to happen?
subtitles with
line:0
orline:0%
should be at the top, nor isline:1
, butline:1%
is working fine.What actually happened?
subtitles lines are not aligned to the top as they should, either with
line:0
orline:0%
orline:1
.line:1%
does work:The text was updated successfully, but these errors were encountered: