@theoplayer/extended 7.2.0 → 7.3.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 +17 -6
- 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.common.d.ts
CHANGED
|
@@ -258,7 +258,7 @@ interface Ad {
|
|
|
258
258
|
* <br/> - `'midroll-and-postroll'`: Mid- and postrolls are preloaded.
|
|
259
259
|
*
|
|
260
260
|
* @remarks
|
|
261
|
-
* <br/> - For Google IMA, preloading starts
|
|
261
|
+
* <br/> - For Google IMA, preloading starts 8 seconds before ad playback.
|
|
262
262
|
*
|
|
263
263
|
* @category Ads
|
|
264
264
|
* @public
|
|
@@ -920,7 +920,7 @@ interface AdDescription {
|
|
|
920
920
|
*
|
|
921
921
|
* @defaultValue
|
|
922
922
|
* <br/> - `true` for live content,
|
|
923
|
-
* <br/> - `false` for VOD content
|
|
923
|
+
* <br/> - `false` for VOD content.
|
|
924
924
|
*/
|
|
925
925
|
replaceContent?: boolean;
|
|
926
926
|
/**
|
|
@@ -1078,6 +1078,7 @@ interface IMAAdDescription extends AdDescription {
|
|
|
1078
1078
|
*
|
|
1079
1079
|
* @remarks
|
|
1080
1080
|
* <br/> - VAST, VMAP and VPAID are supported.
|
|
1081
|
+
* <br/> - Overlay ads and banners are only displayed if the container element (the player) is big enough in pixels.
|
|
1081
1082
|
*/
|
|
1082
1083
|
sources: string | AdSource;
|
|
1083
1084
|
/**
|
|
@@ -4494,11 +4495,11 @@ interface UpdateQualityEvent extends Event<'update'> {
|
|
|
4494
4495
|
*/
|
|
4495
4496
|
interface Quality extends EventDispatcher<QualityEventMap> {
|
|
4496
4497
|
/**
|
|
4497
|
-
* The average bandwidth of the quality.
|
|
4498
|
+
* The average bandwidth of the quality, in bits per second.
|
|
4498
4499
|
*/
|
|
4499
4500
|
readonly averageBandwidth?: number;
|
|
4500
4501
|
/**
|
|
4501
|
-
* The required bandwidth for the quality.
|
|
4502
|
+
* The required bandwidth for the quality, in bits per second.
|
|
4502
4503
|
*/
|
|
4503
4504
|
readonly bandwidth: number;
|
|
4504
4505
|
/**
|
|
@@ -6287,7 +6288,7 @@ type EdgeStyle = 'none' | 'dropshadow' | 'raised' | 'depressed' | 'uniform';
|
|
|
6287
6288
|
* The adaptive bitrate strategy of the first segment, represented by a value from the following list:
|
|
6288
6289
|
* <br/> - `'performance'`: The player will optimize ABR behavior to focus on the performance of the player. This strategy initiates playback with the lowest quality suitable for the device which means faster start-up time.
|
|
6289
6290
|
* <br/> - `'quality'`: The player will optimize ABR behavior to focus displaying the best visual quality to the end-user. This strategy initiates playback with the highest bit rate suitable for the device.
|
|
6290
|
-
* <br/> - `'bandwidth'`: The player will optimize the ABR behavior to focus on displaying the most optimal quality based on historic data of available bandwidth and knowledge of the network conditions.
|
|
6291
|
+
* <br/> - `'bandwidth'`: The player will optimize the ABR behavior to focus on displaying the most optimal quality based on historic data of available bandwidth and knowledge of the network conditions. When no historic data is available, the player will start playback at a medium bitrate quality (up to 2.5 Mbps).
|
|
6291
6292
|
*
|
|
6292
6293
|
* @category ABR
|
|
6293
6294
|
* @public
|
|
@@ -6326,7 +6327,7 @@ interface ABRStrategyConfiguration {
|
|
|
6326
6327
|
metadata?: ABRMetadata;
|
|
6327
6328
|
}
|
|
6328
6329
|
/**
|
|
6329
|
-
* The adaptive bitrate
|
|
6330
|
+
* The adaptive bitrate strategy.
|
|
6330
6331
|
*
|
|
6331
6332
|
* @category ABR
|
|
6332
6333
|
* @public
|
|
@@ -6377,6 +6378,8 @@ interface ABRConfiguration {
|
|
|
6377
6378
|
* If the player detects that the decoder is unable to hold so much data,
|
|
6378
6379
|
* it will reduce `maxBufferLength` and restrict `targetBuffer` to be less than
|
|
6379
6380
|
* this maximum.
|
|
6381
|
+
*
|
|
6382
|
+
* @defaultValue `Infinity`
|
|
6380
6383
|
*/
|
|
6381
6384
|
readonly maxBufferLength: number;
|
|
6382
6385
|
/**
|
|
@@ -12245,6 +12248,14 @@ interface MediaMelonConfiguration {
|
|
|
12245
12248
|
* <br/> - When omitted, will not be reported to Media Melon.
|
|
12246
12249
|
*/
|
|
12247
12250
|
subscriberID?: string;
|
|
12251
|
+
/**
|
|
12252
|
+
* The URL of the media metadata.
|
|
12253
|
+
*/
|
|
12254
|
+
metaURL?: string;
|
|
12255
|
+
/**
|
|
12256
|
+
* The content asset identifier.
|
|
12257
|
+
*/
|
|
12258
|
+
assetID?: string;
|
|
12248
12259
|
}
|
|
12249
12260
|
|
|
12250
12261
|
/**
|