@@ -503,7 +503,18 @@ import Events from './events/Events';
503503 * Enable/disable subtitle rendering by default.
504504 * @property {boolean } [extendSegmentedCues=true]
505505 * Enable/disable patching of segmented cues in order to merge as a single cue by extending cue end time.
506- * @property {object } [webvtt={customRenderingEnabled=false}]
506+ * @property {boolean } [imsc.displayForcedOnlyMode=false]
507+ * Enable/disable forced only mode in IMSC captions.
508+ * When true, only those captions where itts:forcedDisplay="true" will be displayed.
509+ * @property {boolean } [imsc.enableRollUp=true]
510+ * Enable/disable rollUp style display of IMSC captions.
511+ * @property {number } [imsc.options.sizeAdjust=1]
512+ * IMSC styling options - adjust text size, scales the text size and line padding
513+ * @property {number } [imsc.options.lineHeightAdjust=1]
514+ * IMSC styling options - scales the line height
515+ * @property {number } [imsc.options.backgroundOpacityScale=1]
516+ * IMSC styling options - scales the backgroundColor opacity
517+ * @property {object } [webvtt.customRenderingEnabled=false]
507518 * Enables the custom rendering for WebVTT captions. For details refer to the "Subtitles and Captions" sample section of dash.js.
508519 * Custom WebVTT rendering requires the external library vtt.js that can be found in the contrib folder.
509520 */
@@ -982,6 +993,15 @@ function Settings() {
982993 text : {
983994 defaultEnabled : true ,
984995 extendSegmentedCues : true ,
996+ imsc : {
997+ displayForcedOnlyMode : false ,
998+ enableRollUp : true ,
999+ options : {
1000+ sizeAdjust : 1 ,
1001+ lineHeightAdjust : 1 ,
1002+ backgroundOpacityScale : 1
1003+ } ,
1004+ } ,
9851005 webvtt : {
9861006 customRenderingEnabled : false
9871007 }
0 commit comments