@brndts/brndts-ads 1.13.0 → 1.13.1
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/dist/index.js +64 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +64 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -67759,7 +67759,38 @@ var AdsConfigsClass = /*#__PURE__*/ function(BRNDTSConfig) {
|
|
67759
67759
|
key: "defaults",
|
67760
67760
|
get: function get() {
|
67761
67761
|
return {
|
67762
|
-
general: {
|
67762
|
+
general: {
|
67763
|
+
clickability: {
|
67764
|
+
value: true,
|
67765
|
+
setting: {
|
67766
|
+
code: "clickability",
|
67767
|
+
name: "clickability",
|
67768
|
+
description: "",
|
67769
|
+
type: "boolean",
|
67770
|
+
constraints: {}
|
67771
|
+
}
|
67772
|
+
},
|
67773
|
+
visibility_on_pause: {
|
67774
|
+
value: true,
|
67775
|
+
setting: {
|
67776
|
+
code: "visibility_on_pause",
|
67777
|
+
name: "visibility_on_pause",
|
67778
|
+
description: "",
|
67779
|
+
type: "boolean",
|
67780
|
+
constraints: {}
|
67781
|
+
}
|
67782
|
+
},
|
67783
|
+
debug_mode: {
|
67784
|
+
value: false,
|
67785
|
+
setting: {
|
67786
|
+
code: "debug_mode",
|
67787
|
+
name: "debug_mode",
|
67788
|
+
description: "",
|
67789
|
+
type: "boolean",
|
67790
|
+
constraints: {}
|
67791
|
+
}
|
67792
|
+
}
|
67793
|
+
},
|
67763
67794
|
adStrategies: {}
|
67764
67795
|
};
|
67765
67796
|
}
|
@@ -72953,6 +72984,12 @@ var YoutubeMediaElement = /*#__PURE__*/ function(GenericMediaElement) {
|
|
72953
72984
|
return this.media;
|
72954
72985
|
}
|
72955
72986
|
},
|
72987
|
+
{
|
72988
|
+
key: "fullscreenElement",
|
72989
|
+
get: function get() {
|
72990
|
+
return this.view || void 0;
|
72991
|
+
}
|
72992
|
+
},
|
72956
72993
|
{
|
72957
72994
|
key: "viewWidth",
|
72958
72995
|
get: function get() {
|
@@ -73398,6 +73435,12 @@ var NativeMediaElement = /*#__PURE__*/ function(GenericMediaElement) {
|
|
73398
73435
|
return this.media;
|
73399
73436
|
}
|
73400
73437
|
},
|
73438
|
+
{
|
73439
|
+
key: "fullscreenElement",
|
73440
|
+
get: function get() {
|
73441
|
+
return this.view || void 0;
|
73442
|
+
}
|
73443
|
+
},
|
73401
73444
|
{
|
73402
73445
|
key: "viewWidth",
|
73403
73446
|
get: function get() {
|
@@ -73767,6 +73810,13 @@ var BradmaxMediaElement = /*#__PURE__*/ function(GenericMediaElement) {
|
|
73767
73810
|
return this.actualMediaElement;
|
73768
73811
|
}
|
73769
73812
|
},
|
73813
|
+
{
|
73814
|
+
key: "fullscreenElement",
|
73815
|
+
get: function get() {
|
73816
|
+
var _this_view;
|
73817
|
+
return ((_this_view = this.view) === null || _this_view === void 0 ? void 0 : _this_view.closest(".bsplayer")) || void 0;
|
73818
|
+
}
|
73819
|
+
},
|
73770
73820
|
{
|
73771
73821
|
key: "viewWidth",
|
73772
73822
|
get: function get() {
|
@@ -74228,6 +74278,12 @@ var DailymotionMediaElement = /*#__PURE__*/ function(GenericMediaElement) {
|
|
74228
74278
|
return this.rootNode;
|
74229
74279
|
}
|
74230
74280
|
},
|
74281
|
+
{
|
74282
|
+
key: "fullscreenElement",
|
74283
|
+
get: function get() {
|
74284
|
+
return this.view || void 0;
|
74285
|
+
}
|
74286
|
+
},
|
74231
74287
|
{
|
74232
74288
|
key: "viewWidth",
|
74233
74289
|
get: function get() {
|
@@ -74526,6 +74582,12 @@ var VideoJSMediaElement = /*#__PURE__*/ function(GenericMediaElement) {
|
|
74526
74582
|
return this.media;
|
74527
74583
|
}
|
74528
74584
|
},
|
74585
|
+
{
|
74586
|
+
key: "fullscreenElement",
|
74587
|
+
get: function get() {
|
74588
|
+
return this.view || void 0;
|
74589
|
+
}
|
74590
|
+
},
|
74529
74591
|
{
|
74530
74592
|
key: "viewWidth",
|
74531
74593
|
get: function get() {
|
@@ -79675,7 +79737,7 @@ var Fullscreen = /*#__PURE__*/ function() {
|
|
79675
79737
|
this.context = context;
|
79676
79738
|
this.container = this.context.elements.container;
|
79677
79739
|
document.addEventListener("fullscreenchange", function() {
|
79678
|
-
if (document.fullscreenElement === _this.context.media.
|
79740
|
+
if (document.fullscreenElement === _this.context.media.fullscreenElement || document.fullscreenElement === _this.context.elements.container) {
|
79679
79741
|
_this.context.elements.fullscreen = document.fullscreenElement;
|
79680
79742
|
_this.container.dataset.fullscreen = "true";
|
79681
79743
|
_this.container.style.paddingBottom = "0";
|