stormcloud-video-player 0.7.31 → 0.7.32

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
@@ -6709,10 +6709,10 @@ function ComingUpNextOverlay(param) {
6709
6709
  var overlay = param.overlay, size = param.size;
6710
6710
  var cfg = parseConfig(overlay.content);
6711
6711
  if (!cfg) return null;
6712
- var f = Math.max(9, Math.min(size.h * 0.19, size.w * 0.075));
6713
- var showSubtitle = size.h >= 68;
6714
- var showThumbnail = !!(cfg.thumbnailUrl && size.h >= 58);
6715
- var thumbW = showThumbnail ? Math.max(40, size.h * 0.7) : 0;
6712
+ var f = Math.max(8, Math.min(size.h * 0.13, size.w * 0.048));
6713
+ var showSubtitle = size.h >= 60;
6714
+ var showThumbnail = false;
6715
+ var thumbW = 0;
6716
6716
  return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
6717
6717
  style: {
6718
6718
  width: "100%",
@@ -6760,9 +6760,9 @@ function ComingUpNextOverlay(param) {
6760
6760
  }),
6761
6761
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
6762
6762
  style: {
6763
- fontSize: "1.35em",
6763
+ fontSize: "1.2em",
6764
6764
  fontWeight: 700,
6765
- lineHeight: 1.15,
6765
+ lineHeight: 1.2,
6766
6766
  overflow: "hidden",
6767
6767
  textOverflow: "ellipsis",
6768
6768
  whiteSpace: "nowrap"