@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.mjs
CHANGED
@@ -73777,6 +73777,13 @@ var BradmaxMediaElement = /*#__PURE__*/ function(GenericMediaElement) {
|
|
73777
73777
|
var _videoElement2_contextMediaSource;
|
73778
73778
|
return ((_videoElement2_contextMediaSource = videoElement2.contextMediaSource) === null || _videoElement2_contextMediaSource === void 0 ? void 0 : _videoElement2_contextMediaSource.url) === _this.source;
|
73779
73779
|
});
|
73780
|
+
if (!videoElement) {
|
73781
|
+
var _this_instance1;
|
73782
|
+
videoElement = (_this_instance1 = this.instance) === null || _this_instance1 === void 0 ? void 0 : _this_instance1.videoElementsManager.videoElementsInUse.find(function(videoElement2) {
|
73783
|
+
var _videoElement2_contextMediaSource;
|
73784
|
+
return Boolean((_videoElement2_contextMediaSource = videoElement2.contextMediaSource) === null || _videoElement2_contextMediaSource === void 0 ? void 0 : _videoElement2_contextMediaSource.url);
|
73785
|
+
});
|
73786
|
+
}
|
73780
73787
|
if (videoElement) {
|
73781
73788
|
return videoElement.element;
|
73782
73789
|
}
|