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
package/lib/index.js
CHANGED
|
@@ -9143,7 +9143,7 @@ var StormcloudVideoPlayerComponent = React.memo(function(props) {
|
|
|
9143
9143
|
})
|
|
9144
9144
|
]
|
|
9145
9145
|
}),
|
|
9146
|
-
adStatus.showAds && /* @__PURE__ */
|
|
9146
|
+
adStatus.showAds && /* @__PURE__ */ jsx("div", {
|
|
9147
9147
|
style: {
|
|
9148
9148
|
position: "absolute",
|
|
9149
9149
|
top: "".concat(12 * responsiveScale, "px"),
|
|
@@ -9155,35 +9155,20 @@ var StormcloudVideoPlayerComponent = React.memo(function(props) {
|
|
|
9155
9155
|
pointerEvents: "none",
|
|
9156
9156
|
animation: "sc-fade-in 0.3s ease"
|
|
9157
9157
|
},
|
|
9158
|
-
children:
|
|
9159
|
-
|
|
9160
|
-
|
|
9161
|
-
|
|
9162
|
-
|
|
9163
|
-
|
|
9164
|
-
|
|
9165
|
-
|
|
9166
|
-
|
|
9167
|
-
|
|
9168
|
-
|
|
9169
|
-
|
|
9170
|
-
|
|
9171
|
-
|
|
9172
|
-
}),
|
|
9173
|
-
/* @__PURE__ */ jsx("div", {
|
|
9174
|
-
style: {
|
|
9175
|
-
background: "rgba(0, 0, 0, 0.58)",
|
|
9176
|
-
color: "rgba(255, 255, 255, 0.92)",
|
|
9177
|
-
padding: "".concat(4 * responsiveScale, "px ").concat(10 * responsiveScale, "px"),
|
|
9178
|
-
borderRadius: "6px",
|
|
9179
|
-
fontSize: "".concat(11 * responsiveScale, "px"),
|
|
9180
|
-
fontWeight: 600,
|
|
9181
|
-
border: "1px solid rgba(255, 255, 255, 0.1)",
|
|
9182
|
-
boxShadow: "0 2px 10px rgba(0, 0, 0, 0.25)"
|
|
9183
|
-
},
|
|
9184
|
-
children: "".concat(Math.max(1, adStatus.currentIndex), " of ").concat(Math.max(Math.max(1, adStatus.currentIndex), adStatus.totalAds))
|
|
9185
|
-
})
|
|
9186
|
-
]
|
|
9158
|
+
children: /* @__PURE__ */ jsx("div", {
|
|
9159
|
+
style: {
|
|
9160
|
+
background: "rgba(234, 179, 8, 0.95)",
|
|
9161
|
+
color: "#111",
|
|
9162
|
+
padding: "".concat(4 * responsiveScale, "px ").concat(12 * responsiveScale, "px"),
|
|
9163
|
+
borderRadius: "6px",
|
|
9164
|
+
fontSize: "".concat(11 * responsiveScale, "px"),
|
|
9165
|
+
fontWeight: 700,
|
|
9166
|
+
letterSpacing: "0.08em",
|
|
9167
|
+
textTransform: "uppercase",
|
|
9168
|
+
boxShadow: "0 2px 12px rgba(234, 179, 8, 0.35)"
|
|
9169
|
+
},
|
|
9170
|
+
children: "Ad ".concat(Math.max(1, adStatus.currentIndex))
|
|
9171
|
+
})
|
|
9187
9172
|
}),
|
|
9188
9173
|
showCenterPlay && !isLoading && !isBuffering && !showLicenseWarning && !adStatus.showAds && /* @__PURE__ */ jsx("div", {
|
|
9189
9174
|
onClick: handleCenterPlayClick,
|