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/dist/stormcloud-vp.min.js +1 -1
- package/lib/index.cjs +6 -6
- package/lib/index.cjs.map +1 -1
- package/lib/index.js +6 -6
- package/lib/index.js.map +1 -1
- package/lib/ui/OverlayRenderer.cjs +6 -6
- package/lib/ui/OverlayRenderer.cjs.map +1 -1
- package/lib/ui/StormcloudVideoPlayer.cjs +6 -6
- package/lib/ui/StormcloudVideoPlayer.cjs.map +1 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -6543,10 +6543,10 @@ function ComingUpNextOverlay(param) {
|
|
|
6543
6543
|
var overlay = param.overlay, size = param.size;
|
|
6544
6544
|
var cfg = parseConfig(overlay.content);
|
|
6545
6545
|
if (!cfg) return null;
|
|
6546
|
-
var f = Math.max(
|
|
6547
|
-
var showSubtitle = size.h >=
|
|
6548
|
-
var showThumbnail =
|
|
6549
|
-
var thumbW =
|
|
6546
|
+
var f = Math.max(8, Math.min(size.h * 0.13, size.w * 0.048));
|
|
6547
|
+
var showSubtitle = size.h >= 60;
|
|
6548
|
+
var showThumbnail = false;
|
|
6549
|
+
var thumbW = 0;
|
|
6550
6550
|
return /* @__PURE__ */ jsxs("div", {
|
|
6551
6551
|
style: {
|
|
6552
6552
|
width: "100%",
|
|
@@ -6594,9 +6594,9 @@ function ComingUpNextOverlay(param) {
|
|
|
6594
6594
|
}),
|
|
6595
6595
|
/* @__PURE__ */ jsx("div", {
|
|
6596
6596
|
style: {
|
|
6597
|
-
fontSize: "1.
|
|
6597
|
+
fontSize: "1.2em",
|
|
6598
6598
|
fontWeight: 700,
|
|
6599
|
-
lineHeight: 1.
|
|
6599
|
+
lineHeight: 1.2,
|
|
6600
6600
|
overflow: "hidden",
|
|
6601
6601
|
textOverflow: "ellipsis",
|
|
6602
6602
|
whiteSpace: "nowrap"
|