stormcloud-video-player 0.8.17 → 0.8.18
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 +15 -30
- package/lib/index.cjs.map +1 -1
- package/lib/index.js +15 -30
- package/lib/index.js.map +1 -1
- package/lib/ui/StormcloudVideoPlayer.cjs +15 -30
- package/lib/ui/StormcloudVideoPlayer.cjs.map +1 -1
- package/package.json +1 -1
|
@@ -9101,7 +9101,7 @@ var StormcloudVideoPlayerComponent = import_react.default.memo(function(props) {
|
|
|
9101
9101
|
})
|
|
9102
9102
|
]
|
|
9103
9103
|
}),
|
|
9104
|
-
adStatus.showAds && /* @__PURE__ */ (0, import_jsx_runtime.
|
|
9104
|
+
adStatus.showAds && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
|
|
9105
9105
|
style: {
|
|
9106
9106
|
position: "absolute",
|
|
9107
9107
|
top: "".concat(12 * responsiveScale, "px"),
|
|
@@ -9113,35 +9113,20 @@ var StormcloudVideoPlayerComponent = import_react.default.memo(function(props) {
|
|
|
9113
9113
|
pointerEvents: "none",
|
|
9114
9114
|
animation: "sc-fade-in 0.3s ease"
|
|
9115
9115
|
},
|
|
9116
|
-
children:
|
|
9117
|
-
|
|
9118
|
-
|
|
9119
|
-
|
|
9120
|
-
|
|
9121
|
-
|
|
9122
|
-
|
|
9123
|
-
|
|
9124
|
-
|
|
9125
|
-
|
|
9126
|
-
|
|
9127
|
-
|
|
9128
|
-
|
|
9129
|
-
|
|
9130
|
-
}),
|
|
9131
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
|
|
9132
|
-
style: {
|
|
9133
|
-
background: "rgba(0, 0, 0, 0.58)",
|
|
9134
|
-
color: "rgba(255, 255, 255, 0.92)",
|
|
9135
|
-
padding: "".concat(4 * responsiveScale, "px ").concat(10 * responsiveScale, "px"),
|
|
9136
|
-
borderRadius: "6px",
|
|
9137
|
-
fontSize: "".concat(11 * responsiveScale, "px"),
|
|
9138
|
-
fontWeight: 600,
|
|
9139
|
-
border: "1px solid rgba(255, 255, 255, 0.1)",
|
|
9140
|
-
boxShadow: "0 2px 10px rgba(0, 0, 0, 0.25)"
|
|
9141
|
-
},
|
|
9142
|
-
children: "".concat(Math.max(1, adStatus.currentIndex), " of ").concat(Math.max(Math.max(1, adStatus.currentIndex), adStatus.totalAds))
|
|
9143
|
-
})
|
|
9144
|
-
]
|
|
9116
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
|
|
9117
|
+
style: {
|
|
9118
|
+
background: "rgba(234, 179, 8, 0.95)",
|
|
9119
|
+
color: "#111",
|
|
9120
|
+
padding: "".concat(4 * responsiveScale, "px ").concat(12 * responsiveScale, "px"),
|
|
9121
|
+
borderRadius: "6px",
|
|
9122
|
+
fontSize: "".concat(11 * responsiveScale, "px"),
|
|
9123
|
+
fontWeight: 700,
|
|
9124
|
+
letterSpacing: "0.08em",
|
|
9125
|
+
textTransform: "uppercase",
|
|
9126
|
+
boxShadow: "0 2px 12px rgba(234, 179, 8, 0.35)"
|
|
9127
|
+
},
|
|
9128
|
+
children: "Ad ".concat(Math.max(1, adStatus.currentIndex))
|
|
9129
|
+
})
|
|
9145
9130
|
}),
|
|
9146
9131
|
showCenterPlay && !isLoading && !isBuffering && !showLicenseWarning && !adStatus.showAds && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
|
|
9147
9132
|
onClick: handleCenterPlayClick,
|