@brndts/brndts-ads 1.13.10 → 1.13.11
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 +7 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -73702,6 +73702,13 @@ var BradmaxMediaElement = /*#__PURE__*/ function(GenericMediaElement) {
|
|
73702
73702
|
var _videoElement2_contextMediaSource;
|
73703
73703
|
return ((_videoElement2_contextMediaSource = videoElement2.contextMediaSource) === null || _videoElement2_contextMediaSource === void 0 ? void 0 : _videoElement2_contextMediaSource.url) === _this.source;
|
73704
73704
|
});
|
73705
|
+
if (!videoElement) {
|
73706
|
+
var _this_instance1;
|
73707
|
+
videoElement = (_this_instance1 = this.instance) === null || _this_instance1 === void 0 ? void 0 : _this_instance1.videoElementsManager.videoElementsInUse.find(function(videoElement2) {
|
73708
|
+
var _videoElement2_contextMediaSource;
|
73709
|
+
return Boolean((_videoElement2_contextMediaSource = videoElement2.contextMediaSource) === null || _videoElement2_contextMediaSource === void 0 ? void 0 : _videoElement2_contextMediaSource.url);
|
73710
|
+
});
|
73711
|
+
}
|
73705
73712
|
if (videoElement) {
|
73706
73713
|
return videoElement.element;
|
73707
73714
|
}
|