Skip to content
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

Add text.imsc settings for rollUp and displayForcedOnly #4336

Conversation

nigelmegitt
Copy link
Contributor

Closes #4332 by allowing imscJS's displayForcedOnlyMode and enableRollUp parameters to be configured in settings.streaming.text.imsc.displayForcedOnlyMode and settings.streaming.text.imsc.enableRollUp. Adds configuration check-boxes to the reference player to allow them to be adjusted at playback time.

Copy link
Contributor

@vodlogic vodlogic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please can you also add these new settings to the MediaPlayerSettingsClass interface defined in index.d.ts?

https://github.com/Dash-Industry-Forum/dash.js/blob/development/index.d.ts#L1029

Also change `displayForcedOnly` to `displayForcedOnlyMode` throughout, so it's consistent, because that was a vector for hard-to-spot coding errors.
@nigelmegitt
Copy link
Contributor Author

Thanks @vodlogic , done in 8acff5a

@dsilhavy dsilhavy self-requested a review January 8, 2024 17:13
@dsilhavy dsilhavy added this to the 4.7.4 milestone Jan 8, 2024
samples/dash-if-reference-player/app/main.js Outdated Show resolved Hide resolved
samples/dash-if-reference-player/app/main.js Outdated Show resolved Hide resolved
samples/dash-if-reference-player/app/main.js Outdated Show resolved Hide resolved
@dsilhavy dsilhavy merged commit 427b2e7 into Dash-Industry-Forum:development Jan 11, 2024
3 checks passed
eirikbjornr pushed a commit to bbc/dash.js that referenced this pull request Feb 14, 2024
…y-Forum#4336)

* Add text.imsc settings for rollUp and displayForcedOnly

* Add settings to index.d.ts

Also change `displayForcedOnly` to `displayForcedOnlyMode` throughout, so it's consistent, because that was a vector for hard-to-spot coding errors.

* Address feedback - remove unnecessary player settings
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow captions enableRollUp to be configured
3 participants