@theoplayer/extended 10.13.0 → 10.14.0
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.
- package/THEOplayer.chromeless.d.ts +1 -1
- package/THEOplayer.chromeless.esm.js +2 -2
- package/THEOplayer.chromeless.js +3 -3
- package/THEOplayer.common.d.ts +18 -0
- package/THEOplayer.common.esm.js +3 -3
- package/THEOplayer.d.ts +1 -1
- package/THEOplayer.esm.js +3 -3
- package/THEOplayer.js +3 -3
- package/THEOplayer.transmux.asmjs.js +3 -3
- package/THEOplayer.transmux.js +3 -3
- package/package.json +1 -1
- package/theoplayer.d.js +3 -3
- package/theoplayer.sw.js +3 -3
package/THEOplayer.common.d.ts
CHANGED
|
@@ -4549,6 +4549,15 @@ interface TextTrack extends Track, EventDispatcher<TextTrackEventMap> {
|
|
|
4549
4549
|
* <br/> - For HLS: the corresponding #EXT-X-MEDIA tag contains the attributes TYPE=SUBTITLES and FORCED=YES (not supported yet)
|
|
4550
4550
|
*/
|
|
4551
4551
|
readonly forced: boolean;
|
|
4552
|
+
/**
|
|
4553
|
+
* The closed caption service number of the text track.
|
|
4554
|
+
*
|
|
4555
|
+
* @remarks
|
|
4556
|
+
* <br/> - For CEA-608 caption tracks, this holds the channel number.
|
|
4557
|
+
* <br/> - For CEA-708 caption tracks, this holds the service number.
|
|
4558
|
+
* <br/> - Otherwise, this is `undefined`.
|
|
4559
|
+
*/
|
|
4560
|
+
readonly captionChannel?: number;
|
|
4552
4561
|
/**
|
|
4553
4562
|
* {@inheritDoc EventDispatcher.addEventListener}
|
|
4554
4563
|
*/
|
|
@@ -8801,6 +8810,15 @@ interface CustomTextTrackOptions {
|
|
|
8801
8810
|
* The language of the text track.
|
|
8802
8811
|
*/
|
|
8803
8812
|
language?: string;
|
|
8813
|
+
/**
|
|
8814
|
+
* The closed caption service number of the text track.
|
|
8815
|
+
*
|
|
8816
|
+
* @remarks
|
|
8817
|
+
* <br/> - This should only be used when {@link kind} is 'captions'.
|
|
8818
|
+
*
|
|
8819
|
+
* @see {@link TextTrack.captionChannel}
|
|
8820
|
+
*/
|
|
8821
|
+
captionChannel?: number;
|
|
8804
8822
|
}
|
|
8805
8823
|
/**
|
|
8806
8824
|
* The supported cue types for custom text tracks.
|