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/dist/stormcloud-vp.min.js +1 -1
- package/lib/Player.d.cts +9 -1
- package/lib/StormcloudPlayer.cjs +10 -0
- package/lib/StormcloudPlayer.cjs.map +1 -1
- package/lib/index.cjs +10 -0
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.ts +4 -0
- package/lib/index.js +10 -0
- package/lib/index.js.map +1 -1
- package/lib/players/HlsPlayer.cjs +6 -0
- package/lib/players/HlsPlayer.cjs.map +1 -1
- package/lib/players/index.cjs +6 -0
- package/lib/players/index.cjs.map +1 -1
- package/lib/props.d.cts +5 -1
- package/package.json +1 -1
package/lib/players/index.cjs
CHANGED
|
@@ -13437,6 +13437,12 @@ var HlsPlayer = /*#__PURE__*/ function(_import_react2_Component) {
|
|
|
13437
13437
|
if (_this1.props.adFailsafeTimeoutMs !== void 0) config.adFailsafeTimeoutMs = _this1.props.adFailsafeTimeoutMs;
|
|
13438
13438
|
if (_this1.props.minSegmentsBeforePlay !== void 0) config.minSegmentsBeforePlay = _this1.props.minSegmentsBeforePlay;
|
|
13439
13439
|
if (_this1.props.ctvAdRequest !== void 0) config.ctvAdRequest = _this1.props.ctvAdRequest;
|
|
13440
|
+
if (_this1.props.vastTagUrl !== void 0) config.vastTagUrl = _this1.props.vastTagUrl;
|
|
13441
|
+
if (_this1.props.isVmap !== void 0) config.isVmap = _this1.props.isVmap;
|
|
13442
|
+
if (_this1.props.vmapUrl !== void 0) config.vmapUrl = _this1.props.vmapUrl;
|
|
13443
|
+
if (_this1.props.minRemainingMsToRequestAd !== void 0) config.minRemainingMsToRequestAd = _this1.props.minRemainingMsToRequestAd;
|
|
13444
|
+
if (_this1.props.maxNoFillsPerBreak !== void 0) config.maxNoFillsPerBreak = _this1.props.maxNoFillsPerBreak;
|
|
13445
|
+
if (_this1.props.maxAdBreakExtensionMs !== void 0) config.maxAdBreakExtensionMs = _this1.props.maxAdBreakExtensionMs;
|
|
13440
13446
|
_this1.player = new StormcloudVideoPlayer(config);
|
|
13441
13447
|
(_this_props_onMount = (_this_props = _this1.props).onMount) === null || _this_props_onMount === void 0 ? void 0 : _this_props_onMount.call(_this_props, _this1);
|
|
13442
13448
|
return [
|