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
|
@@ -6531,10 +6531,10 @@ function ComingUpNextOverlay(param) {
|
|
|
6531
6531
|
var overlay = param.overlay, size = param.size;
|
|
6532
6532
|
var cfg = parseConfig(overlay.content);
|
|
6533
6533
|
if (!cfg) return null;
|
|
6534
|
-
var f = Math.max(
|
|
6535
|
-
var showSubtitle = size.h >=
|
|
6536
|
-
var showThumbnail =
|
|
6537
|
-
var thumbW =
|
|
6534
|
+
var f = Math.max(8, Math.min(size.h * 0.13, size.w * 0.048));
|
|
6535
|
+
var showSubtitle = size.h >= 60;
|
|
6536
|
+
var showThumbnail = false;
|
|
6537
|
+
var thumbW = 0;
|
|
6538
6538
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
|
|
6539
6539
|
style: {
|
|
6540
6540
|
width: "100%",
|
|
@@ -6582,9 +6582,9 @@ function ComingUpNextOverlay(param) {
|
|
|
6582
6582
|
}),
|
|
6583
6583
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
|
|
6584
6584
|
style: {
|
|
6585
|
-
fontSize: "1.
|
|
6585
|
+
fontSize: "1.2em",
|
|
6586
6586
|
fontWeight: 700,
|
|
6587
|
-
lineHeight: 1.
|
|
6587
|
+
lineHeight: 1.2,
|
|
6588
6588
|
overflow: "hidden",
|
|
6589
6589
|
textOverflow: "ellipsis",
|
|
6590
6590
|
whiteSpace: "nowrap"
|