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.
package/lib/index.js
CHANGED
|
@@ -7578,7 +7578,8 @@ var StormcloudVideoPlayerComponent = React2.memo(function(props) {
|
|
|
7578
7578
|
if (minSegmentsBeforePlay !== void 0) cfg.minSegmentsBeforePlay = minSegmentsBeforePlay;
|
|
7579
7579
|
if (disableAds !== void 0) cfg.disableAds = disableAds;
|
|
7580
7580
|
cfg.disableFiller = disableFiller !== null && disableFiller !== void 0 ? disableFiller : true;
|
|
7581
|
-
if (
|
|
7581
|
+
if (adcisionChannelId !== void 0) cfg.projectId = String(adcisionChannelId);
|
|
7582
|
+
else if (swirlProjectId !== void 0) cfg.projectId = String(swirlProjectId);
|
|
7582
7583
|
var player = new StormcloudVideoPlayer(cfg);
|
|
7583
7584
|
playerRef.current = player;
|
|
7584
7585
|
player.load().then(function() {
|