stormcloud-video-player 0.7.18 → 0.7.19

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.cjs CHANGED
@@ -9050,7 +9050,7 @@ var StormcloudVideoPlayerComponent = import_react2.default.memo(function(props)
9050
9050
  size: Math.max(14, 18 * responsiveScale)
9051
9051
  })
9052
9052
  }),
9053
- swirlProjectId && (showAiContextControl !== null && showAiContextControl !== void 0 ? showAiContextControl : true) && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("button", {
9053
+ (swirlProjectId || adcisionChannelId) && (showAiContextControl !== null && showAiContextControl !== void 0 ? showAiContextControl : true) && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("button", {
9054
9054
  className: "sc-ctrl-btn",
9055
9055
  onClick: function onClick() {
9056
9056
  setShowAiPanel(function(prev) {
@@ -9072,7 +9072,7 @@ var StormcloudVideoPlayerComponent = import_react2.default.memo(function(props)
9072
9072
  title: showAiPanel ? "Hide AI context" : "Show AI context",
9073
9073
  children: "AI"
9074
9074
  }),
9075
- debugAdTiming && (showDebugControl !== null && showDebugControl !== void 0 ? showDebugControl : true) && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("button", {
9075
+ (showDebugControl !== null && showDebugControl !== void 0 ? showDebugControl : true) && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("button", {
9076
9076
  className: "sc-ctrl-btn",
9077
9077
  onClick: function onClick() {
9078
9078
  setShowDebugPanel(function(prev) {
@@ -9389,7 +9389,7 @@ var StormcloudVideoPlayerComponent = import_react2.default.memo(function(props)
9389
9389
  size: Math.max(14, 18 * responsiveScale)
9390
9390
  })
9391
9391
  }),
9392
- swirlProjectId && (showAiContextControl !== null && showAiContextControl !== void 0 ? showAiContextControl : true) && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("button", {
9392
+ (swirlProjectId || adcisionChannelId) && (showAiContextControl !== null && showAiContextControl !== void 0 ? showAiContextControl : true) && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("button", {
9393
9393
  className: "sc-ctrl-btn",
9394
9394
  onClick: function onClick() {
9395
9395
  setShowAiPanel(function(prev) {
@@ -9411,7 +9411,7 @@ var StormcloudVideoPlayerComponent = import_react2.default.memo(function(props)
9411
9411
  title: showAiPanel ? "Hide AI context" : "Show AI context",
9412
9412
  children: "AI"
9413
9413
  }),
9414
- debugAdTiming && (showDebugControl !== null && showDebugControl !== void 0 ? showDebugControl : true) && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("button", {
9414
+ (showDebugControl !== null && showDebugControl !== void 0 ? showDebugControl : true) && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("button", {
9415
9415
  className: "sc-ctrl-btn",
9416
9416
  onClick: function onClick() {
9417
9417
  setShowDebugPanel(function(prev) {