@theoplayer/extended 7.10.0 → 7.12.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 +36 -1
- 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
|
@@ -661,6 +661,10 @@ interface AdInit extends Omit<Partial<Ad>, 'integration' | 'adBreak'> {
|
|
|
661
661
|
* The time offset at which content will be paused to play the ad, in seconds.
|
|
662
662
|
*/
|
|
663
663
|
timeOffset?: number;
|
|
664
|
+
/**
|
|
665
|
+
* Additional integration-specific data associated with this ad.
|
|
666
|
+
*/
|
|
667
|
+
customData?: unknown;
|
|
664
668
|
}
|
|
665
669
|
/**
|
|
666
670
|
* An initializer for a custom {@link AdBreak}.
|
|
@@ -680,6 +684,10 @@ interface AdBreakInit {
|
|
|
680
684
|
* The duration of the ad break, in seconds.
|
|
681
685
|
*/
|
|
682
686
|
maxDuration?: number | undefined;
|
|
687
|
+
/**
|
|
688
|
+
* Additional integration-specific data associated with this ad break.
|
|
689
|
+
*/
|
|
690
|
+
customData?: unknown;
|
|
683
691
|
}
|
|
684
692
|
/**
|
|
685
693
|
* Factory to create an {@link ServerSideAdIntegrationHandler}.
|
|
@@ -810,6 +818,17 @@ interface Ad {
|
|
|
810
818
|
* <br/> - Only supported for `'csai'`, `'theo'` (deprecated) and `'google-ima'`.
|
|
811
819
|
*/
|
|
812
820
|
universalAdIds: UniversalAdId[];
|
|
821
|
+
/**
|
|
822
|
+
* Additional integration-specific data associated with this ad.
|
|
823
|
+
*/
|
|
824
|
+
customData: unknown;
|
|
825
|
+
/**
|
|
826
|
+
* Whether the ad is a slate or not.
|
|
827
|
+
*
|
|
828
|
+
* @remarks
|
|
829
|
+
* </br> - Only used for THEOads ads.
|
|
830
|
+
*/
|
|
831
|
+
isSlate: boolean;
|
|
813
832
|
}
|
|
814
833
|
/**
|
|
815
834
|
* The type of the ad, represented by a value from the following list:
|
|
@@ -1166,6 +1185,10 @@ interface AdBreak {
|
|
|
1166
1185
|
* <br/> - This feature is not available in the Google IMA integration and will default to -1.
|
|
1167
1186
|
*/
|
|
1168
1187
|
maxRemainingDuration: number | undefined;
|
|
1188
|
+
/**
|
|
1189
|
+
* Additional integration-specific data associated with this ad.
|
|
1190
|
+
*/
|
|
1191
|
+
customData: unknown;
|
|
1169
1192
|
}
|
|
1170
1193
|
/**
|
|
1171
1194
|
* Represents a companion ad which is displayed near the video player.
|
|
@@ -12476,16 +12499,28 @@ interface TheoAdDescription extends AdDescription {
|
|
|
12476
12499
|
* <br/> - Values added must be strings.
|
|
12477
12500
|
*/
|
|
12478
12501
|
adTagParameters?: Record<string, string>;
|
|
12502
|
+
/**
|
|
12503
|
+
* Whether to use the Id3 based operating mode.
|
|
12504
|
+
*
|
|
12505
|
+
* @defaultValue `false`
|
|
12506
|
+
*
|
|
12507
|
+
* @remarks
|
|
12508
|
+
* <br/> - Only applicable for specific use-cases.
|
|
12509
|
+
* <br/> - Contact THEO Technologies for more information.
|
|
12510
|
+
*/
|
|
12511
|
+
useId3?: boolean;
|
|
12479
12512
|
}
|
|
12480
12513
|
/**
|
|
12481
12514
|
* Describes how and when the layout of a THEOads ad break should be overridden:
|
|
12482
12515
|
* - `'single'`: Override to play all ad breaks using the "single" layout mode.
|
|
12516
|
+
* - `'l-shape'`: Override to play all ad breaks using the "l-shape" layout mode.
|
|
12517
|
+
* - `'double'`: Override to play all ad breaks using the "double" layout mode.
|
|
12483
12518
|
* - `'single-if-mobile'`: When on a mobile device, override to play all ad breaks using the "single" layout mode.
|
|
12484
12519
|
*
|
|
12485
12520
|
* @category Ads
|
|
12486
12521
|
* @internal
|
|
12487
12522
|
*/
|
|
12488
|
-
type TheoAdsLayoutOverride = 'single' | 'single-if-mobile';
|
|
12523
|
+
type TheoAdsLayoutOverride = 'single' | 'l-shape' | 'double' | 'single-if-mobile';
|
|
12489
12524
|
|
|
12490
12525
|
/**
|
|
12491
12526
|
* @category HESP
|