stormcloud-video-player 0.8.17 → 0.8.18

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
@@ -9346,7 +9346,7 @@ var StormcloudVideoPlayerComponent = import_react.default.memo(function(props) {
9346
9346
  })
9347
9347
  ]
9348
9348
  }),
9349
- adStatus.showAds && /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
9349
+ adStatus.showAds && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
9350
9350
  style: {
9351
9351
  position: "absolute",
9352
9352
  top: "".concat(12 * responsiveScale, "px"),
@@ -9358,35 +9358,20 @@ var StormcloudVideoPlayerComponent = import_react.default.memo(function(props) {
9358
9358
  pointerEvents: "none",
9359
9359
  animation: "sc-fade-in 0.3s ease"
9360
9360
  },
9361
- children: [
9362
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
9363
- style: {
9364
- background: "rgba(234, 179, 8, 0.95)",
9365
- color: "#111",
9366
- padding: "".concat(4 * responsiveScale, "px ").concat(12 * responsiveScale, "px"),
9367
- borderRadius: "6px",
9368
- fontSize: "".concat(11 * responsiveScale, "px"),
9369
- fontWeight: 700,
9370
- letterSpacing: "0.08em",
9371
- textTransform: "uppercase",
9372
- boxShadow: "0 2px 12px rgba(234, 179, 8, 0.35)"
9373
- },
9374
- children: "Ad"
9375
- }),
9376
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
9377
- style: {
9378
- background: "rgba(0, 0, 0, 0.58)",
9379
- color: "rgba(255, 255, 255, 0.92)",
9380
- padding: "".concat(4 * responsiveScale, "px ").concat(10 * responsiveScale, "px"),
9381
- borderRadius: "6px",
9382
- fontSize: "".concat(11 * responsiveScale, "px"),
9383
- fontWeight: 600,
9384
- border: "1px solid rgba(255, 255, 255, 0.1)",
9385
- boxShadow: "0 2px 10px rgba(0, 0, 0, 0.25)"
9386
- },
9387
- children: "".concat(Math.max(1, adStatus.currentIndex), " of ").concat(Math.max(Math.max(1, adStatus.currentIndex), adStatus.totalAds))
9388
- })
9389
- ]
9361
+ children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
9362
+ style: {
9363
+ background: "rgba(234, 179, 8, 0.95)",
9364
+ color: "#111",
9365
+ padding: "".concat(4 * responsiveScale, "px ").concat(12 * responsiveScale, "px"),
9366
+ borderRadius: "6px",
9367
+ fontSize: "".concat(11 * responsiveScale, "px"),
9368
+ fontWeight: 700,
9369
+ letterSpacing: "0.08em",
9370
+ textTransform: "uppercase",
9371
+ boxShadow: "0 2px 12px rgba(234, 179, 8, 0.35)"
9372
+ },
9373
+ children: "Ad ".concat(Math.max(1, adStatus.currentIndex))
9374
+ })
9390
9375
  }),
9391
9376
  showCenterPlay && !isLoading && !isBuffering && !showLicenseWarning && !adStatus.showAds && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
9392
9377
  onClick: handleCenterPlayClick,