@theoplayer/extended 8.1.1 → 8.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.d.ts +1 -1
- package/THEOplayer.chromeless.esm.js +2 -2
- package/THEOplayer.chromeless.js +3 -3
- package/THEOplayer.common.d.ts +39 -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.common.d.ts
CHANGED
|
@@ -712,6 +712,27 @@ interface AdsManagerLoadedEvent extends Event<'adsmanagerloaded'> {
|
|
|
712
712
|
readonly adsManager: any;
|
|
713
713
|
}
|
|
714
714
|
|
|
715
|
+
/**
|
|
716
|
+
* The THEOads API.
|
|
717
|
+
*
|
|
718
|
+
* @remarks
|
|
719
|
+
* <br/> - Available since v8.2.0.
|
|
720
|
+
*
|
|
721
|
+
* @category Ads
|
|
722
|
+
* @public
|
|
723
|
+
*/
|
|
724
|
+
interface TheoAds {
|
|
725
|
+
/**
|
|
726
|
+
* Replaces all the ad tag parameters used for upcoming ad requests for a live stream.
|
|
727
|
+
*
|
|
728
|
+
* @param adTagParameters - The new ad tag parameters.
|
|
729
|
+
*
|
|
730
|
+
* @remark
|
|
731
|
+
* <br/> - If set, this value overrides any parameters set on the {@link TheoAdDescription.adTagParameters}.
|
|
732
|
+
*/
|
|
733
|
+
replaceAdTagParameters(adTagParameters?: Record<string, string>): void;
|
|
734
|
+
}
|
|
735
|
+
|
|
715
736
|
/**
|
|
716
737
|
* Represents a VAST creative. It is either a linear or non-linear ad.
|
|
717
738
|
*
|
|
@@ -923,6 +944,16 @@ interface AdsConfiguration {
|
|
|
923
944
|
* The Google IMA configuration.
|
|
924
945
|
*/
|
|
925
946
|
googleIma?: GoogleImaConfiguration;
|
|
947
|
+
/**
|
|
948
|
+
* Whether to enable THEOads support.
|
|
949
|
+
*
|
|
950
|
+
* @remarks
|
|
951
|
+
* <br/> - Available since 8.2.0.
|
|
952
|
+
* <br/> - This must be set to `true` in order to schedule a {@link TheoAdDescription}.
|
|
953
|
+
*
|
|
954
|
+
* @defaultValue `false`
|
|
955
|
+
*/
|
|
956
|
+
theoads?: boolean;
|
|
926
957
|
}
|
|
927
958
|
/**
|
|
928
959
|
* Describes the configuration of Google IMA.
|
|
@@ -1453,6 +1484,13 @@ interface Ads extends EventDispatcher<AdsEventMap> {
|
|
|
1453
1484
|
* <br/> - Only available with the feature `'google-dai'`.
|
|
1454
1485
|
*/
|
|
1455
1486
|
readonly dai?: GoogleDAI;
|
|
1487
|
+
/**
|
|
1488
|
+
* The THEOads API.
|
|
1489
|
+
*
|
|
1490
|
+
* @remarks
|
|
1491
|
+
* <br/> - Only available with the feature `'theoads'`.
|
|
1492
|
+
*/
|
|
1493
|
+
readonly theoads?: TheoAds;
|
|
1456
1494
|
/**
|
|
1457
1495
|
* Add an ad break request.
|
|
1458
1496
|
*
|
|
@@ -12141,6 +12179,7 @@ interface TTMLCue extends TextTrackCue {
|
|
|
12141
12179
|
*
|
|
12142
12180
|
* @remarks
|
|
12143
12181
|
* <br/> - For THEOads, one configured ad break request enables server guided ad playback for the entire stream.
|
|
12182
|
+
* <br/> - The player must have {@link AdsConfiguration.theoads} enabled in its {@link PlayerConfiguration}.
|
|
12144
12183
|
*
|
|
12145
12184
|
* @category Ads
|
|
12146
12185
|
*/
|