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.js CHANGED
@@ -8884,7 +8884,7 @@ var StormcloudVideoPlayerComponent = React2.memo(function(props) {
8884
8884
  size: Math.max(14, 18 * responsiveScale)
8885
8885
  })
8886
8886
  }),
8887
- swirlProjectId && (showAiContextControl !== null && showAiContextControl !== void 0 ? showAiContextControl : true) && /* @__PURE__ */ jsx2("button", {
8887
+ (swirlProjectId || adcisionChannelId) && (showAiContextControl !== null && showAiContextControl !== void 0 ? showAiContextControl : true) && /* @__PURE__ */ jsx2("button", {
8888
8888
  className: "sc-ctrl-btn",
8889
8889
  onClick: function onClick() {
8890
8890
  setShowAiPanel(function(prev) {
@@ -8906,7 +8906,7 @@ var StormcloudVideoPlayerComponent = React2.memo(function(props) {
8906
8906
  title: showAiPanel ? "Hide AI context" : "Show AI context",
8907
8907
  children: "AI"
8908
8908
  }),
8909
- debugAdTiming && (showDebugControl !== null && showDebugControl !== void 0 ? showDebugControl : true) && /* @__PURE__ */ jsx2("button", {
8909
+ (showDebugControl !== null && showDebugControl !== void 0 ? showDebugControl : true) && /* @__PURE__ */ jsx2("button", {
8910
8910
  className: "sc-ctrl-btn",
8911
8911
  onClick: function onClick() {
8912
8912
  setShowDebugPanel(function(prev) {
@@ -9223,7 +9223,7 @@ var StormcloudVideoPlayerComponent = React2.memo(function(props) {
9223
9223
  size: Math.max(14, 18 * responsiveScale)
9224
9224
  })
9225
9225
  }),
9226
- swirlProjectId && (showAiContextControl !== null && showAiContextControl !== void 0 ? showAiContextControl : true) && /* @__PURE__ */ jsx2("button", {
9226
+ (swirlProjectId || adcisionChannelId) && (showAiContextControl !== null && showAiContextControl !== void 0 ? showAiContextControl : true) && /* @__PURE__ */ jsx2("button", {
9227
9227
  className: "sc-ctrl-btn",
9228
9228
  onClick: function onClick() {
9229
9229
  setShowAiPanel(function(prev) {
@@ -9245,7 +9245,7 @@ var StormcloudVideoPlayerComponent = React2.memo(function(props) {
9245
9245
  title: showAiPanel ? "Hide AI context" : "Show AI context",
9246
9246
  children: "AI"
9247
9247
  }),
9248
- debugAdTiming && (showDebugControl !== null && showDebugControl !== void 0 ? showDebugControl : true) && /* @__PURE__ */ jsx2("button", {
9248
+ (showDebugControl !== null && showDebugControl !== void 0 ? showDebugControl : true) && /* @__PURE__ */ jsx2("button", {
9249
9249
  className: "sc-ctrl-btn",
9250
9250
  onClick: function onClick() {
9251
9251
  setShowDebugPanel(function(prev) {