-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Allow captions enableRollUp to be configured #4332
Comments
@nigelmegitt Can you provide a PR for the new settings flag? |
@dsilhavy I could. Do we have any design documentation about how |
We do have text: {
defaultEnabled: true,
extendSegmentedCues: true,
webvtt: {
customRenderingEnabled: false
}
} |
Ah thanks I just found that too. Given that this is imscJS-specific, what do you think is best practice? Looks like maybe this would work: settings = {
...,
text: {
defaultEnabled: true,
extendSegmentedCues: true,
imsc: {
enableRollUp: true,
},
webvtt: {
customRenderingEnabled: false
}
},
} |
That looks good thanks |
I see that we have the same issue with |
PR opened. Tests?Please advise if you think additional tests are needed, and if so, I'd appreciate hints about how to add them. I did not find an obvious location where these kind of settings could be tested; I'm also not sure how to go about testing roll-up mode since it is a content-dependent animation. Testing |
At
dash.js/src/streaming/text/TextTracks.js
Line 419 in fcb89e1
the
enableRollUp
parameter is forced totrue
. This is not always what clients want, and in particular is a significant change to the normal expected subtitle behaviour in the UK. Add a way to set some configuration to allow this to be controlled, for example by passing a value in via theconfig.settings
object.The text was updated successfully, but these errors were encountered: