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
|
@@ -1195,10 +1195,10 @@ function ComingUpNextOverlay(param) {
|
|
|
1195
1195
|
var overlay = param.overlay, size = param.size;
|
|
1196
1196
|
var cfg = parseConfig(overlay.content);
|
|
1197
1197
|
if (!cfg) return null;
|
|
1198
|
-
var f = Math.max(
|
|
1199
|
-
var showSubtitle = size.h >=
|
|
1200
|
-
var showThumbnail =
|
|
1201
|
-
var thumbW =
|
|
1198
|
+
var f = Math.max(8, Math.min(size.h * 0.13, size.w * 0.048));
|
|
1199
|
+
var showSubtitle = size.h >= 60;
|
|
1200
|
+
var showThumbnail = false;
|
|
1201
|
+
var thumbW = 0;
|
|
1202
1202
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
|
|
1203
1203
|
style: {
|
|
1204
1204
|
width: "100%",
|
|
@@ -1246,9 +1246,9 @@ function ComingUpNextOverlay(param) {
|
|
|
1246
1246
|
}),
|
|
1247
1247
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
|
|
1248
1248
|
style: {
|
|
1249
|
-
fontSize: "1.
|
|
1249
|
+
fontSize: "1.2em",
|
|
1250
1250
|
fontWeight: 700,
|
|
1251
|
-
lineHeight: 1.
|
|
1251
|
+
lineHeight: 1.2,
|
|
1252
1252
|
overflow: "hidden",
|
|
1253
1253
|
textOverflow: "ellipsis",
|
|
1254
1254
|
whiteSpace: "nowrap"
|