stormcloud-video-player 0.7.19 → 0.7.20

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.
@@ -7462,14 +7462,11 @@ var StormcloudVideoPlayerComponent = import_react2.default.memo(function(props)
7462
7462
  }
7463
7463
  setShowSpeedMenu(false);
7464
7464
  };
7465
- var isHlsStream = (src === null || src === void 0 ? void 0 : src.toLowerCase().includes(".m3u8")) || (src === null || src === void 0 ? void 0 : src.toLowerCase().includes("/hls/"));
7466
- var shouldShowEnhancedControls = showCustomControls && (isHlsStream ? allowNativeHls : true);
7467
7465
  var analyzerPanelWidth = Math.min(420, Math.max(320, viewportWidth * 0.41));
7468
7466
  var analyzerPanelHeight = isPortrait ? "52vh" : "420px";
7469
7467
  var analyzerPanelMaxHeight = "60vh";
7470
7468
  var panelGap = Math.max(8, 12 * responsiveScale);
7471
7469
  var shouldStackPanels = isPortrait || viewportWidth < 980;
7472
- var debugPanelBottomOffset = shouldShowEnhancedControls ? Math.max(74, 92 * responsiveScale) : Math.max(52, 58 * responsiveScale);
7473
7470
  var panelBaseRight = PANEL_BASE_RIGHT_OFFSET * responsiveScale;
7474
7471
  var debugPanelRightOffset = showAiPanel && !shouldStackPanels ? panelBaseRight + analyzerPanelWidth + panelGap : panelBaseRight;
7475
7472
  (0, import_react2.useEffect)(function() {
@@ -7492,6 +7489,9 @@ var StormcloudVideoPlayerComponent = import_react2.default.memo(function(props)
7492
7489
  adcisionChannelId
7493
7490
  ]);
7494
7491
  var effectiveSrc = adcisionChannelId ? adcisionSrc : src;
7492
+ var isHlsStream = (effectiveSrc === null || effectiveSrc === void 0 ? void 0 : effectiveSrc.toLowerCase().includes(".m3u8")) || (effectiveSrc === null || effectiveSrc === void 0 ? void 0 : effectiveSrc.toLowerCase().includes("/hls/"));
7493
+ var shouldShowEnhancedControls = showCustomControls && (isHlsStream ? allowNativeHls : true);
7494
+ var debugPanelBottomOffset = shouldShowEnhancedControls ? Math.max(74, 92 * responsiveScale) : Math.max(52, 58 * responsiveScale);
7495
7495
  var criticalPropsKey = (0, import_react2.useMemo)(function() {
7496
7496
  var baseParts = CRITICAL_PROPS.map(function(prop) {
7497
7497
  return prop === "src" ? "src:".concat(effectiveSrc) : "".concat(prop, ":").concat(props[prop]);