@brndts/brndts-ads 1.14.5 → 1.14.6

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 CHANGED
@@ -74000,6 +74000,9 @@ var YoutubeMediaElement = /*#__PURE__*/ function(GenericMediaElement) {
74000
74000
  this.instance = event.target;
74001
74001
  this.ready = true;
74002
74002
  this.observeResize();
74003
+ if (this._source && this._source.type === "playlist") {
74004
+ this._source.videoId = this.videoId;
74005
+ }
74003
74006
  this.context.store.dispatch({
74004
74007
  type: "READY"
74005
74008
  });
@@ -84352,7 +84355,7 @@ var VideoAd = /*#__PURE__*/ function() {
84352
84355
  {
84353
84356
  key: "handleInfo",
84354
84357
  value: function handleInfo(data) {
84355
- var _this_presentation;
84358
+ var _this_presentation, _this_presentation1;
84356
84359
  if (!data.video) {
84357
84360
  ErrorHandler.handle(new InternalError("Setup failed: no video identifier"));
84358
84361
  return;
@@ -84387,6 +84390,7 @@ var VideoAd = /*#__PURE__*/ function() {
84387
84390
  ts: 0
84388
84391
  });
84389
84392
  (_this_presentation = this.presentation) === null || _this_presentation === void 0 ? void 0 : _this_presentation.setup();
84393
+ (_this_presentation1 = this.presentation) === null || _this_presentation1 === void 0 ? void 0 : _this_presentation1.start();
84390
84394
  }
84391
84395
  },
84392
84396
  {