TTML percentage of extent and origin scaled down unnecessarily #3029
Labels
component: TTML
The issue involves TTML subtitles specifically
status: archived
Archived and locked; will not be updated
type: bug
Something isn't working correctly
Milestone
Have you read the FAQ and checked for duplicate open issues?
yes
What version of Shaka Player are you using?
v3.0.6
Can you reproduce the issue with our latest release version?
Yes
Can you reproduce the issue with the latest code from
master
?Yes
Are you using the demo app or your own custom app?
Both
If custom app, can you reproduce the issue using our demo app?
Yes
What browser and OS are you using?
Win & Mac
Chrome v87, Firefox v83, Edge v87
For embedded devices (smart TVs, etc.), what model and firmware version are you using?
N/A
What are the manifest and license server URIs?
https://dash.akamaized.net/dash264/CTA/imsc1/IT1-20171027_dash.mpd
What did you do?
What did you expect to happen?
The specific percentage
origin
andextent
attributes are expected to be honoured for correct placement.What actually happened?
Subtitles appear at top left and off screen.
If a percentage is specified then the
region
width and height apply the scaling unnecessarily. Same issue exists for theorigin
just after.https://github.com/google/shaka-player/blob/56bb045ff68325d6b9de7cb3d56265ce3162f164/lib/text/ttml_text_parser.js#L365
The text was updated successfully, but these errors were encountered: