stormcloud-video-player 0.7.22 → 0.7.23

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.
@@ -7566,7 +7566,8 @@ var StormcloudVideoPlayerComponent = import_react2.default.memo(function(props)
7566
7566
  if (minSegmentsBeforePlay !== void 0) cfg.minSegmentsBeforePlay = minSegmentsBeforePlay;
7567
7567
  if (disableAds !== void 0) cfg.disableAds = disableAds;
7568
7568
  cfg.disableFiller = disableFiller !== null && disableFiller !== void 0 ? disableFiller : true;
7569
- if (!adcisionChannelId && swirlProjectId !== void 0) cfg.projectId = String(swirlProjectId);
7569
+ if (adcisionChannelId !== void 0) cfg.projectId = String(adcisionChannelId);
7570
+ else if (swirlProjectId !== void 0) cfg.projectId = String(swirlProjectId);
7570
7571
  var player = new StormcloudVideoPlayer(cfg);
7571
7572
  playerRef.current = player;
7572
7573
  player.load().then(function() {