stormcloud-video-player 0.8.76 → 0.8.77

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.d.ts CHANGED
@@ -374,9 +374,13 @@ interface BaseStormcloudPlayerProps {
374
374
  licenseKey?: string;
375
375
  isVmap?: boolean;
376
376
  vmapUrl?: string;
377
+ vastTagUrl?: string;
377
378
  adFailsafeTimeoutMs?: number;
378
379
  minSegmentsBeforePlay?: number;
379
380
  ctvAdRequest?: boolean;
381
+ minRemainingMsToRequestAd?: number;
382
+ maxNoFillsPerBreak?: number;
383
+ maxAdBreakExtensionMs?: number;
380
384
  onReady?: (player: StormcloudVideoPlayer) => void;
381
385
  onStart?: () => void;
382
386
  onPlay?: () => void;
package/lib/index.js CHANGED
@@ -14975,6 +14975,12 @@ var HlsPlayer = /*#__PURE__*/ function(Component) {
14975
14975
  if (_this1.props.adFailsafeTimeoutMs !== void 0) config.adFailsafeTimeoutMs = _this1.props.adFailsafeTimeoutMs;
14976
14976
  if (_this1.props.minSegmentsBeforePlay !== void 0) config.minSegmentsBeforePlay = _this1.props.minSegmentsBeforePlay;
14977
14977
  if (_this1.props.ctvAdRequest !== void 0) config.ctvAdRequest = _this1.props.ctvAdRequest;
14978
+ if (_this1.props.vastTagUrl !== void 0) config.vastTagUrl = _this1.props.vastTagUrl;
14979
+ if (_this1.props.isVmap !== void 0) config.isVmap = _this1.props.isVmap;
14980
+ if (_this1.props.vmapUrl !== void 0) config.vmapUrl = _this1.props.vmapUrl;
14981
+ if (_this1.props.minRemainingMsToRequestAd !== void 0) config.minRemainingMsToRequestAd = _this1.props.minRemainingMsToRequestAd;
14982
+ if (_this1.props.maxNoFillsPerBreak !== void 0) config.maxNoFillsPerBreak = _this1.props.maxNoFillsPerBreak;
14983
+ if (_this1.props.maxAdBreakExtensionMs !== void 0) config.maxAdBreakExtensionMs = _this1.props.maxAdBreakExtensionMs;
14978
14984
  _this1.player = new StormcloudVideoPlayer(config);
14979
14985
  (_this_props_onMount = (_this_props = _this1.props).onMount) === null || _this_props_onMount === void 0 ? void 0 : _this_props_onMount.call(_this_props, _this1);
14980
14986
  return [
@@ -15740,9 +15746,13 @@ var SUPPORTED_PROPS = [
15740
15746
  "licenseKey",
15741
15747
  "isVmap",
15742
15748
  "vmapUrl",
15749
+ "vastTagUrl",
15743
15750
  "adFailsafeTimeoutMs",
15744
15751
  "minSegmentsBeforePlay",
15745
15752
  "ctvAdRequest",
15753
+ "minRemainingMsToRequestAd",
15754
+ "maxNoFillsPerBreak",
15755
+ "maxAdBreakExtensionMs",
15746
15756
  "onReady",
15747
15757
  "onStart",
15748
15758
  "onPlay",