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.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(
|
|
6713
|
-
var showSubtitle = size.h >=
|
|
6714
|
-
var showThumbnail =
|
|
6715
|
-
var thumbW =
|
|
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.
|
|
6763
|
+
fontSize: "1.2em",
|
|
6764
6764
|
fontWeight: 700,
|
|
6765
|
-
lineHeight: 1.
|
|
6765
|
+
lineHeight: 1.2,
|
|
6766
6766
|
overflow: "hidden",
|
|
6767
6767
|
textOverflow: "ellipsis",
|
|
6768
6768
|
whiteSpace: "nowrap"
|