@theoplayer/extended 3.0.0 → 3.2.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.js +3 -3
- package/THEOplayer.d.ts +43 -1
- package/THEOplayer.js +3 -3
- package/package.json +1 -1
- package/theoplayer.d.js +3 -3
- package/theoplayer.e.js +3 -3
- package/theoplayer.p.js +3 -3
- package/theoplayer.sw.js +3 -3
package/THEOplayer.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* THEOplayer
|
|
3
3
|
* https://www.theoplayer.com
|
|
4
4
|
*
|
|
5
|
-
* Version: 2022.1.
|
|
5
|
+
* Version: 2022.1.2 (3.2.0)
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
/**
|
|
@@ -1092,6 +1092,15 @@ export declare interface BaseSource {
|
|
|
1092
1092
|
* <br/> - Ignored for non-HLS streams.
|
|
1093
1093
|
*/
|
|
1094
1094
|
hls?: HlsPlaybackConfiguration;
|
|
1095
|
+
/**
|
|
1096
|
+
* The source's ABR configuration.
|
|
1097
|
+
*
|
|
1098
|
+
* @remarks
|
|
1099
|
+
* <br/> - Available since v3.1.0.
|
|
1100
|
+
* <br/> - Overrides {@link PlayerConfiguration.abr}.
|
|
1101
|
+
* <br/> - Used for DASH and LL-HLS streams.
|
|
1102
|
+
*/
|
|
1103
|
+
abr?: SourceAbrConfiguration;
|
|
1095
1104
|
}
|
|
1096
1105
|
|
|
1097
1106
|
/**
|
|
@@ -6219,6 +6228,14 @@ export declare interface PlayerConfiguration {
|
|
|
6219
6228
|
* The url to fetch the license for the player
|
|
6220
6229
|
*/
|
|
6221
6230
|
licenseUrl?: string;
|
|
6231
|
+
/**
|
|
6232
|
+
* The player's ABR configuration.
|
|
6233
|
+
*
|
|
6234
|
+
* @remarks
|
|
6235
|
+
* <br/> - Available since v3.1.0.
|
|
6236
|
+
* <br/> - Used for DASH and LL-HLS streams.
|
|
6237
|
+
*/
|
|
6238
|
+
abr?: SourceAbrConfiguration;
|
|
6222
6239
|
}
|
|
6223
6240
|
|
|
6224
6241
|
/**
|
|
@@ -7348,6 +7365,24 @@ export declare interface SocialSharingItem {
|
|
|
7348
7365
|
*/
|
|
7349
7366
|
export declare type Source = string | TypedSource | VerizonMediaSource;
|
|
7350
7367
|
|
|
7368
|
+
/**
|
|
7369
|
+
* Describes the ABR configuration for a specific source.
|
|
7370
|
+
*
|
|
7371
|
+
* @public
|
|
7372
|
+
*/
|
|
7373
|
+
export declare interface SourceAbrConfiguration {
|
|
7374
|
+
/**
|
|
7375
|
+
* A list of preferred audio codecs which will be used by the ABR algorithm to make an initial selection, if the codec is supported.
|
|
7376
|
+
*
|
|
7377
|
+
*/
|
|
7378
|
+
preferredAudioCodecs?: string[];
|
|
7379
|
+
/**
|
|
7380
|
+
* A list of preferred video codecs which will be used by the ABR algorithm to make an initial selection, if the codec is supported.
|
|
7381
|
+
*
|
|
7382
|
+
*/
|
|
7383
|
+
preferredVideoCodecs?: string[];
|
|
7384
|
+
}
|
|
7385
|
+
|
|
7351
7386
|
/**
|
|
7352
7387
|
* Fired when `ChromelessPlayer.source` changes.
|
|
7353
7388
|
*
|
|
@@ -7823,6 +7858,13 @@ declare interface TextTrack_2 extends Track, EventDispatcher<TextTrackEventMap_2
|
|
|
7823
7858
|
* The source of the text track.
|
|
7824
7859
|
*/
|
|
7825
7860
|
readonly src: string;
|
|
7861
|
+
/**
|
|
7862
|
+
* Indicates whether the track contains Forced Narrative cues.
|
|
7863
|
+
* This may only be true for subtitle tracks where
|
|
7864
|
+
* <br/> - For DASH: the corresponding AdaptationSet contains a child Role with its value attribute equal to `'forced_subtitle'`
|
|
7865
|
+
* <br/> - For HLS: the corresponding #EXT-X-MEDIA tag contains the attributes TYPE=SUBTITLES and FORCED=YES (not supported yet)
|
|
7866
|
+
*/
|
|
7867
|
+
readonly forced: boolean;
|
|
7826
7868
|
/**
|
|
7827
7869
|
* {@inheritDoc EventDispatcher.addEventListener}
|
|
7828
7870
|
*/
|