@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.mjs
CHANGED
@@ -67785,7 +67785,38 @@ var AdsConfigsClass = /*#__PURE__*/ function(BRNDTSConfig) {
|
|
67785
67785
|
key: "defaults",
|
67786
67786
|
get: function get() {
|
67787
67787
|
return {
|
67788
|
-
general: {
|
67788
|
+
general: {
|
67789
|
+
clickability: {
|
67790
|
+
value: true,
|
67791
|
+
setting: {
|
67792
|
+
code: "clickability",
|
67793
|
+
name: "clickability",
|
67794
|
+
description: "",
|
67795
|
+
type: "boolean",
|
67796
|
+
constraints: {}
|
67797
|
+
}
|
67798
|
+
},
|
67799
|
+
visibility_on_pause: {
|
67800
|
+
value: true,
|
67801
|
+
setting: {
|
67802
|
+
code: "visibility_on_pause",
|
67803
|
+
name: "visibility_on_pause",
|
67804
|
+
description: "",
|
67805
|
+
type: "boolean",
|
67806
|
+
constraints: {}
|
67807
|
+
}
|
67808
|
+
},
|
67809
|
+
debug_mode: {
|
67810
|
+
value: false,
|
67811
|
+
setting: {
|
67812
|
+
code: "debug_mode",
|
67813
|
+
name: "debug_mode",
|
67814
|
+
description: "",
|
67815
|
+
type: "boolean",
|
67816
|
+
constraints: {}
|
67817
|
+
}
|
67818
|
+
}
|
67819
|
+
},
|
67789
67820
|
adStrategies: {}
|
67790
67821
|
};
|
67791
67822
|
}
|
@@ -73026,6 +73057,12 @@ var YoutubeMediaElement = /*#__PURE__*/ function(GenericMediaElement) {
|
|
73026
73057
|
return this.media;
|
73027
73058
|
}
|
73028
73059
|
},
|
73060
|
+
{
|
73061
|
+
key: "fullscreenElement",
|
73062
|
+
get: function get() {
|
73063
|
+
return this.view || void 0;
|
73064
|
+
}
|
73065
|
+
},
|
73029
73066
|
{
|
73030
73067
|
key: "viewWidth",
|
73031
73068
|
get: function get() {
|
@@ -73472,6 +73509,12 @@ var NativeMediaElement = /*#__PURE__*/ function(GenericMediaElement) {
|
|
73472
73509
|
return this.media;
|
73473
73510
|
}
|
73474
73511
|
},
|
73512
|
+
{
|
73513
|
+
key: "fullscreenElement",
|
73514
|
+
get: function get() {
|
73515
|
+
return this.view || void 0;
|
73516
|
+
}
|
73517
|
+
},
|
73475
73518
|
{
|
73476
73519
|
key: "viewWidth",
|
73477
73520
|
get: function get() {
|
@@ -73842,6 +73885,13 @@ var BradmaxMediaElement = /*#__PURE__*/ function(GenericMediaElement) {
|
|
73842
73885
|
return this.actualMediaElement;
|
73843
73886
|
}
|
73844
73887
|
},
|
73888
|
+
{
|
73889
|
+
key: "fullscreenElement",
|
73890
|
+
get: function get() {
|
73891
|
+
var _this_view;
|
73892
|
+
return ((_this_view = this.view) === null || _this_view === void 0 ? void 0 : _this_view.closest(".bsplayer")) || void 0;
|
73893
|
+
}
|
73894
|
+
},
|
73845
73895
|
{
|
73846
73896
|
key: "viewWidth",
|
73847
73897
|
get: function get() {
|
@@ -74304,6 +74354,12 @@ var DailymotionMediaElement = /*#__PURE__*/ function(GenericMediaElement) {
|
|
74304
74354
|
return this.rootNode;
|
74305
74355
|
}
|
74306
74356
|
},
|
74357
|
+
{
|
74358
|
+
key: "fullscreenElement",
|
74359
|
+
get: function get() {
|
74360
|
+
return this.view || void 0;
|
74361
|
+
}
|
74362
|
+
},
|
74307
74363
|
{
|
74308
74364
|
key: "viewWidth",
|
74309
74365
|
get: function get() {
|
@@ -74603,6 +74659,12 @@ var VideoJSMediaElement = /*#__PURE__*/ function(GenericMediaElement) {
|
|
74603
74659
|
return this.media;
|
74604
74660
|
}
|
74605
74661
|
},
|
74662
|
+
{
|
74663
|
+
key: "fullscreenElement",
|
74664
|
+
get: function get() {
|
74665
|
+
return this.view || void 0;
|
74666
|
+
}
|
74667
|
+
},
|
74606
74668
|
{
|
74607
74669
|
key: "viewWidth",
|
74608
74670
|
get: function get() {
|
@@ -79779,7 +79841,7 @@ var Fullscreen = /*#__PURE__*/ function() {
|
|
79779
79841
|
this.context = context;
|
79780
79842
|
this.container = this.context.elements.container;
|
79781
79843
|
document.addEventListener("fullscreenchange", function() {
|
79782
|
-
if (document.fullscreenElement === _this.context.media.
|
79844
|
+
if (document.fullscreenElement === _this.context.media.fullscreenElement || document.fullscreenElement === _this.context.elements.container) {
|
79783
79845
|
_this.context.elements.fullscreen = document.fullscreenElement;
|
79784
79846
|
_this.container.dataset.fullscreen = "true";
|
79785
79847
|
_this.container.style.paddingBottom = "0";
|