shaka-player 4.10.2 → 4.10.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -214,6 +214,89 @@ shaka.media.ClosedCaptionParser = class {
214
214
  */
215
215
  static findDecoder() {}
216
216
  };
217
+ /**
218
+ */
219
+ shaka.text.CueRegion = class {
220
+ /** */
221
+ constructor() {}
222
+ };
223
+ /**
224
+ * Region identifier.
225
+ * @type {string}
226
+ */
227
+ shaka.text.CueRegion.prototype.id;
228
+ /**
229
+ * The X offset to start the rendering area in viewportAnchorUnits of the
230
+ * video width.
231
+ * @type {number}
232
+ */
233
+ shaka.text.CueRegion.prototype.viewportAnchorX;
234
+ /**
235
+ * The X offset to start the rendering area in viewportAnchorUnits of the
236
+ * video height.
237
+ * @type {number}
238
+ */
239
+ shaka.text.CueRegion.prototype.viewportAnchorY;
240
+ /**
241
+ * The X offset to start the rendering area in percentage (0-100) of this
242
+ * region width.
243
+ * @type {number}
244
+ */
245
+ shaka.text.CueRegion.prototype.regionAnchorX;
246
+ /**
247
+ * The Y offset to start the rendering area in percentage (0-100) of the
248
+ * region height.
249
+ * @type {number}
250
+ */
251
+ shaka.text.CueRegion.prototype.regionAnchorY;
252
+ /**
253
+ * The width of the rendering area in widthUnits.
254
+ * @type {number}
255
+ */
256
+ shaka.text.CueRegion.prototype.width;
257
+ /**
258
+ * The width of the rendering area in heightUnits.
259
+ * @type {number}
260
+ */
261
+ shaka.text.CueRegion.prototype.height;
262
+ /**
263
+ * The units (percentage, pixels or lines) the region height is in.
264
+ * @type {shaka.text.CueRegion.units}
265
+ */
266
+ shaka.text.CueRegion.prototype.heightUnits;
267
+ /**
268
+ * The units (percentage or pixels) the region width is in.
269
+ * @type {shaka.text.CueRegion.units}
270
+ */
271
+ shaka.text.CueRegion.prototype.widthUnits;
272
+ /**
273
+ * The units (percentage or pixels) the region viewportAnchors are in.
274
+ * @type {shaka.text.CueRegion.units}
275
+ */
276
+ shaka.text.CueRegion.prototype.viewportAnchorUnits;
277
+ /**
278
+ * If scroll=UP, it means that cues in the region will be added to the
279
+ * bottom of the region and will push any already displayed cues in the
280
+ * region up. Otherwise (scroll=NONE) cues will stay fixed at the location
281
+ * they were first painted in.
282
+ * @type {shaka.text.CueRegion.scrollMode}
283
+ */
284
+ shaka.text.CueRegion.prototype.scroll;
285
+ /**
286
+ * @enum {number}
287
+ */
288
+ shaka.text.CueRegion.units = {
289
+ 'PX': 0,
290
+ 'PERCENTAGE': 1,
291
+ 'LINES': 2
292
+ };
293
+ /**
294
+ * @enum {string}
295
+ */
296
+ shaka.text.CueRegion.scrollMode = {
297
+ 'NONE': '',
298
+ 'UP': 'up'
299
+ };
217
300
  /**
218
301
  */
219
302
  shaka.text.Cue = class {
@@ -570,89 +653,6 @@ shaka.text.Cue.textDecoration = {
570
653
  'LINE_THROUGH': 'lineThrough',
571
654
  'OVERLINE': 'overline'
572
655
  };
573
- /**
574
- */
575
- shaka.text.CueRegion = class {
576
- /** */
577
- constructor() {}
578
- };
579
- /**
580
- * Region identifier.
581
- * @type {string}
582
- */
583
- shaka.text.CueRegion.prototype.id;
584
- /**
585
- * The X offset to start the rendering area in viewportAnchorUnits of the
586
- * video width.
587
- * @type {number}
588
- */
589
- shaka.text.CueRegion.prototype.viewportAnchorX;
590
- /**
591
- * The X offset to start the rendering area in viewportAnchorUnits of the
592
- * video height.
593
- * @type {number}
594
- */
595
- shaka.text.CueRegion.prototype.viewportAnchorY;
596
- /**
597
- * The X offset to start the rendering area in percentage (0-100) of this
598
- * region width.
599
- * @type {number}
600
- */
601
- shaka.text.CueRegion.prototype.regionAnchorX;
602
- /**
603
- * The Y offset to start the rendering area in percentage (0-100) of the
604
- * region height.
605
- * @type {number}
606
- */
607
- shaka.text.CueRegion.prototype.regionAnchorY;
608
- /**
609
- * The width of the rendering area in widthUnits.
610
- * @type {number}
611
- */
612
- shaka.text.CueRegion.prototype.width;
613
- /**
614
- * The width of the rendering area in heightUnits.
615
- * @type {number}
616
- */
617
- shaka.text.CueRegion.prototype.height;
618
- /**
619
- * The units (percentage, pixels or lines) the region height is in.
620
- * @type {shaka.text.CueRegion.units}
621
- */
622
- shaka.text.CueRegion.prototype.heightUnits;
623
- /**
624
- * The units (percentage or pixels) the region width is in.
625
- * @type {shaka.text.CueRegion.units}
626
- */
627
- shaka.text.CueRegion.prototype.widthUnits;
628
- /**
629
- * The units (percentage or pixels) the region viewportAnchors are in.
630
- * @type {shaka.text.CueRegion.units}
631
- */
632
- shaka.text.CueRegion.prototype.viewportAnchorUnits;
633
- /**
634
- * If scroll=UP, it means that cues in the region will be added to the
635
- * bottom of the region and will push any already displayed cues in the
636
- * region up. Otherwise (scroll=NONE) cues will stay fixed at the location
637
- * they were first painted in.
638
- * @type {shaka.text.CueRegion.scrollMode}
639
- */
640
- shaka.text.CueRegion.prototype.scroll;
641
- /**
642
- * @enum {number}
643
- */
644
- shaka.text.CueRegion.units = {
645
- 'PX': 0,
646
- 'PERCENTAGE': 1,
647
- 'LINES': 2
648
- };
649
- /**
650
- * @enum {string}
651
- */
652
- shaka.text.CueRegion.scrollMode = {
653
- 'NONE': '',
654
- 'UP': 'up'
655
- };
656
656
  /**
657
657
  * An interface to standardize how objects are destroyed.
658
658
  * @interface