@acoustte-digital-services/digitalstore-controls-dev 0.8.1-dev.20260430100756 → 0.8.1-dev.20260502043006
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.
|
@@ -16,11 +16,14 @@ var HlsPlayer = React.memo(
|
|
|
16
16
|
}) => {
|
|
17
17
|
const videoRef = useRef(null);
|
|
18
18
|
const hlsRef = useRef(null);
|
|
19
|
+
const isPlayOnHover = playOptions === "playOnHover";
|
|
20
|
+
const startsMuted = playOptions === "autoplay" || isPlayOnHover;
|
|
19
21
|
const [isPlaying, setIsPlaying] = useState(playOptions === "autoplay");
|
|
20
22
|
const [isHovered, setIsHovered] = useState(false);
|
|
21
23
|
const [isMobile, setIsMobile] = useState(false);
|
|
22
24
|
const [isControlsVisible, setIsControlsVisible] = useState(true);
|
|
23
25
|
const [isPosterVisible, setIsPosterVisible] = useState(true);
|
|
26
|
+
const [isMuted, setIsMuted] = useState(startsMuted);
|
|
24
27
|
const wasManuallyPausedRef = useRef(false);
|
|
25
28
|
const inactivityTimerRef = useRef(null);
|
|
26
29
|
const INACTIVITY_DELAY = 2500;
|
|
@@ -117,33 +120,67 @@ var HlsPlayer = React.memo(
|
|
|
117
120
|
setIsPlaying(false);
|
|
118
121
|
}
|
|
119
122
|
}, []);
|
|
123
|
+
const handleMuteToggle = useCallback(() => {
|
|
124
|
+
const v = videoRef.current;
|
|
125
|
+
if (!v) return;
|
|
126
|
+
v.muted = !v.muted;
|
|
127
|
+
setIsMuted(v.muted);
|
|
128
|
+
}, []);
|
|
120
129
|
const handleMouseEnter = useCallback(() => {
|
|
121
130
|
if (isMobile) return;
|
|
122
131
|
setIsHovered(true);
|
|
123
132
|
resetInactivityTimer();
|
|
124
|
-
if (
|
|
133
|
+
if (isPlayOnHover && videoRef.current && !wasManuallyPausedRef.current) {
|
|
125
134
|
videoRef.current.play().then(() => setIsPlaying(true));
|
|
126
135
|
}
|
|
127
|
-
}, [
|
|
136
|
+
}, [isPlayOnHover, isMobile, resetInactivityTimer]);
|
|
128
137
|
const handleMouseLeave = useCallback(() => {
|
|
129
138
|
if (isMobile) return;
|
|
130
139
|
setIsHovered(false);
|
|
131
140
|
if (inactivityTimerRef.current) clearTimeout(inactivityTimerRef.current);
|
|
132
141
|
if (isPlaying) setIsControlsVisible(false);
|
|
133
|
-
if (
|
|
142
|
+
if (isPlayOnHover && videoRef.current) {
|
|
134
143
|
videoRef.current.pause();
|
|
135
144
|
videoRef.current.currentTime = 0;
|
|
136
145
|
setIsPlaying(false);
|
|
137
146
|
}
|
|
138
|
-
}, [
|
|
147
|
+
}, [isPlayOnHover, isMobile, isPlaying]);
|
|
139
148
|
const handleMouseMove = useCallback(() => {
|
|
140
149
|
if (isMobile) return;
|
|
141
150
|
resetInactivityTimer();
|
|
142
151
|
}, [isMobile, resetInactivityTimer]);
|
|
143
152
|
const posterSources = resolvedSources.filter((s) => s.media && s.posterUrl);
|
|
144
153
|
const fallbackPoster = posterUrl ?? resolvedSources.find((s) => !s.media)?.posterUrl ?? resolvedSources[0]?.posterUrl;
|
|
145
|
-
const
|
|
154
|
+
const overlayButtonStyle = {
|
|
155
|
+
pointerEvents: isControlsVisible ? "auto" : "none",
|
|
156
|
+
width: 40,
|
|
157
|
+
height: 40,
|
|
158
|
+
borderRadius: "50%",
|
|
159
|
+
border: "1.5px solid rgba(255,255,255,0.18)",
|
|
160
|
+
cursor: "pointer",
|
|
161
|
+
display: "flex",
|
|
162
|
+
alignItems: "center",
|
|
163
|
+
justifyContent: "center",
|
|
164
|
+
background: "rgba(0, 0, 0, 0.45)",
|
|
165
|
+
backdropFilter: "blur(10px)",
|
|
166
|
+
WebkitBackdropFilter: "blur(10px)",
|
|
167
|
+
boxShadow: "0 4px 32px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.1)",
|
|
168
|
+
transition: "transform 0.18s ease, background 0.18s ease, border-color 0.18s ease"
|
|
169
|
+
};
|
|
170
|
+
const handleButtonMouseEnter = useCallback((e) => {
|
|
171
|
+
const btn = e.currentTarget;
|
|
172
|
+
btn.style.transform = "scale(1.1)";
|
|
173
|
+
btn.style.background = "rgba(0,0,0,0.65)";
|
|
174
|
+
btn.style.borderColor = "rgba(255,255,255,0.32)";
|
|
175
|
+
}, []);
|
|
176
|
+
const handleButtonMouseLeave = useCallback((e) => {
|
|
177
|
+
const btn = e.currentTarget;
|
|
178
|
+
btn.style.transform = "scale(1)";
|
|
179
|
+
btn.style.background = "rgba(0,0,0,0.45)";
|
|
180
|
+
btn.style.borderColor = "rgba(255,255,255,0.18)";
|
|
181
|
+
}, []);
|
|
146
182
|
if (resolvedSources.length === 0) return null;
|
|
183
|
+
const showMuteButton = !showControls && !isMobile && !isPlayOnHover;
|
|
147
184
|
return /* @__PURE__ */ jsxs(
|
|
148
185
|
"div",
|
|
149
186
|
{
|
|
@@ -159,11 +196,11 @@ var HlsPlayer = React.memo(
|
|
|
159
196
|
className: "w-full h-full object-contain",
|
|
160
197
|
poster: fallbackPoster,
|
|
161
198
|
controls: showControls && (isMobile || isPlaying),
|
|
162
|
-
muted:
|
|
199
|
+
muted: startsMuted,
|
|
163
200
|
autoPlay: playOptions === "autoplay",
|
|
164
201
|
loop,
|
|
165
|
-
playsInline: true,
|
|
166
202
|
onClick: !isMobile ? handlePlayPause : void 0,
|
|
203
|
+
playsInline: true,
|
|
167
204
|
children: resolvedSources.map(({ src, media }, i) => /* @__PURE__ */ jsx(
|
|
168
205
|
"source",
|
|
169
206
|
{
|
|
@@ -215,43 +252,51 @@ var HlsPlayer = React.memo(
|
|
|
215
252
|
e.stopPropagation();
|
|
216
253
|
handlePlayPause();
|
|
217
254
|
},
|
|
218
|
-
style: {
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
255
|
+
style: { ...overlayButtonStyle, width: 64, height: 64 },
|
|
256
|
+
onMouseEnter: handleButtonMouseEnter,
|
|
257
|
+
onMouseLeave: handleButtonMouseLeave,
|
|
258
|
+
children: isPlaying ? /* @__PURE__ */ jsxs("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
259
|
+
/* @__PURE__ */ jsx("rect", { x: "3.5", y: "2.5", width: "4.5", height: "15", rx: "1.5", fill: "white" }),
|
|
260
|
+
/* @__PURE__ */ jsx("rect", { x: "12", y: "2.5", width: "4.5", height: "15", rx: "1.5", fill: "white" })
|
|
261
|
+
] }) : /* @__PURE__ */ jsx("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", style: { transform: "translateX(2px)" }, children: /* @__PURE__ */ jsx("path", { d: "M5 3.5L17 10L5 16.5V3.5Z", fill: "white" }) })
|
|
262
|
+
}
|
|
263
|
+
)
|
|
264
|
+
}
|
|
265
|
+
),
|
|
266
|
+
showMuteButton && /* @__PURE__ */ jsx(
|
|
267
|
+
"div",
|
|
268
|
+
{
|
|
269
|
+
className: "absolute bottom-3 right-3 pointer-events-none",
|
|
270
|
+
style: {
|
|
271
|
+
opacity: isControlsVisible ? 1 : 0,
|
|
272
|
+
transition: "opacity 0.3s ease"
|
|
273
|
+
},
|
|
274
|
+
children: /* @__PURE__ */ jsx(
|
|
275
|
+
"button",
|
|
276
|
+
{
|
|
277
|
+
type: "button",
|
|
278
|
+
"aria-label": isMuted ? "Unmute" : "Mute",
|
|
279
|
+
onClick: (e) => {
|
|
280
|
+
e.stopPropagation();
|
|
281
|
+
handleMuteToggle();
|
|
245
282
|
},
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
283
|
+
style: overlayButtonStyle,
|
|
284
|
+
onMouseEnter: handleButtonMouseEnter,
|
|
285
|
+
onMouseLeave: handleButtonMouseLeave,
|
|
286
|
+
children: isMuted ? (
|
|
287
|
+
/* Muted — speaker with an X */
|
|
288
|
+
/* @__PURE__ */ jsxs("svg", { width: "18", height: "18", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
289
|
+
/* @__PURE__ */ jsx("path", { d: "M11 5L6 9H2v6h4l5 4V5Z", fill: "white" }),
|
|
290
|
+
/* @__PURE__ */ jsx("line", { x1: "23", y1: "9", x2: "17", y2: "15", stroke: "white", strokeWidth: "2", strokeLinecap: "round" }),
|
|
291
|
+
/* @__PURE__ */ jsx("line", { x1: "17", y1: "9", x2: "23", y2: "15", stroke: "white", strokeWidth: "2", strokeLinecap: "round" })
|
|
251
292
|
] })
|
|
252
293
|
) : (
|
|
253
|
-
/*
|
|
254
|
-
/* @__PURE__ */
|
|
294
|
+
/* Unmuted — speaker with sound waves */
|
|
295
|
+
/* @__PURE__ */ jsxs("svg", { width: "18", height: "18", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
296
|
+
/* @__PURE__ */ jsx("path", { d: "M11 5L6 9H2v6h4l5 4V5Z", fill: "white" }),
|
|
297
|
+
/* @__PURE__ */ jsx("path", { d: "M15.54 8.46a5 5 0 0 1 0 7.07", stroke: "white", strokeWidth: "2", strokeLinecap: "round" }),
|
|
298
|
+
/* @__PURE__ */ jsx("path", { d: "M19.07 4.93a10 10 0 0 1 0 14.14", stroke: "white", strokeWidth: "2", strokeLinecap: "round" })
|
|
299
|
+
] })
|
|
255
300
|
)
|
|
256
301
|
}
|
|
257
302
|
)
|
package/dist/index.js
CHANGED
|
@@ -542,11 +542,14 @@ var init_HlsPlayer = __esm({
|
|
|
542
542
|
}) => {
|
|
543
543
|
const videoRef = (0, import_react32.useRef)(null);
|
|
544
544
|
const hlsRef = (0, import_react32.useRef)(null);
|
|
545
|
+
const isPlayOnHover = playOptions === "playOnHover";
|
|
546
|
+
const startsMuted = playOptions === "autoplay" || isPlayOnHover;
|
|
545
547
|
const [isPlaying, setIsPlaying] = (0, import_react32.useState)(playOptions === "autoplay");
|
|
546
548
|
const [isHovered, setIsHovered] = (0, import_react32.useState)(false);
|
|
547
549
|
const [isMobile, setIsMobile] = (0, import_react32.useState)(false);
|
|
548
550
|
const [isControlsVisible, setIsControlsVisible] = (0, import_react32.useState)(true);
|
|
549
551
|
const [isPosterVisible, setIsPosterVisible] = (0, import_react32.useState)(true);
|
|
552
|
+
const [isMuted, setIsMuted] = (0, import_react32.useState)(startsMuted);
|
|
550
553
|
const wasManuallyPausedRef = (0, import_react32.useRef)(false);
|
|
551
554
|
const inactivityTimerRef = (0, import_react32.useRef)(null);
|
|
552
555
|
const INACTIVITY_DELAY = 2500;
|
|
@@ -643,33 +646,67 @@ var init_HlsPlayer = __esm({
|
|
|
643
646
|
setIsPlaying(false);
|
|
644
647
|
}
|
|
645
648
|
}, []);
|
|
649
|
+
const handleMuteToggle = (0, import_react32.useCallback)(() => {
|
|
650
|
+
const v = videoRef.current;
|
|
651
|
+
if (!v) return;
|
|
652
|
+
v.muted = !v.muted;
|
|
653
|
+
setIsMuted(v.muted);
|
|
654
|
+
}, []);
|
|
646
655
|
const handleMouseEnter = (0, import_react32.useCallback)(() => {
|
|
647
656
|
if (isMobile) return;
|
|
648
657
|
setIsHovered(true);
|
|
649
658
|
resetInactivityTimer();
|
|
650
|
-
if (
|
|
659
|
+
if (isPlayOnHover && videoRef.current && !wasManuallyPausedRef.current) {
|
|
651
660
|
videoRef.current.play().then(() => setIsPlaying(true));
|
|
652
661
|
}
|
|
653
|
-
}, [
|
|
662
|
+
}, [isPlayOnHover, isMobile, resetInactivityTimer]);
|
|
654
663
|
const handleMouseLeave = (0, import_react32.useCallback)(() => {
|
|
655
664
|
if (isMobile) return;
|
|
656
665
|
setIsHovered(false);
|
|
657
666
|
if (inactivityTimerRef.current) clearTimeout(inactivityTimerRef.current);
|
|
658
667
|
if (isPlaying) setIsControlsVisible(false);
|
|
659
|
-
if (
|
|
668
|
+
if (isPlayOnHover && videoRef.current) {
|
|
660
669
|
videoRef.current.pause();
|
|
661
670
|
videoRef.current.currentTime = 0;
|
|
662
671
|
setIsPlaying(false);
|
|
663
672
|
}
|
|
664
|
-
}, [
|
|
673
|
+
}, [isPlayOnHover, isMobile, isPlaying]);
|
|
665
674
|
const handleMouseMove = (0, import_react32.useCallback)(() => {
|
|
666
675
|
if (isMobile) return;
|
|
667
676
|
resetInactivityTimer();
|
|
668
677
|
}, [isMobile, resetInactivityTimer]);
|
|
669
678
|
const posterSources = resolvedSources.filter((s) => s.media && s.posterUrl);
|
|
670
679
|
const fallbackPoster = posterUrl ?? resolvedSources.find((s) => !s.media)?.posterUrl ?? resolvedSources[0]?.posterUrl;
|
|
671
|
-
const
|
|
680
|
+
const overlayButtonStyle = {
|
|
681
|
+
pointerEvents: isControlsVisible ? "auto" : "none",
|
|
682
|
+
width: 40,
|
|
683
|
+
height: 40,
|
|
684
|
+
borderRadius: "50%",
|
|
685
|
+
border: "1.5px solid rgba(255,255,255,0.18)",
|
|
686
|
+
cursor: "pointer",
|
|
687
|
+
display: "flex",
|
|
688
|
+
alignItems: "center",
|
|
689
|
+
justifyContent: "center",
|
|
690
|
+
background: "rgba(0, 0, 0, 0.45)",
|
|
691
|
+
backdropFilter: "blur(10px)",
|
|
692
|
+
WebkitBackdropFilter: "blur(10px)",
|
|
693
|
+
boxShadow: "0 4px 32px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.1)",
|
|
694
|
+
transition: "transform 0.18s ease, background 0.18s ease, border-color 0.18s ease"
|
|
695
|
+
};
|
|
696
|
+
const handleButtonMouseEnter = (0, import_react32.useCallback)((e) => {
|
|
697
|
+
const btn = e.currentTarget;
|
|
698
|
+
btn.style.transform = "scale(1.1)";
|
|
699
|
+
btn.style.background = "rgba(0,0,0,0.65)";
|
|
700
|
+
btn.style.borderColor = "rgba(255,255,255,0.32)";
|
|
701
|
+
}, []);
|
|
702
|
+
const handleButtonMouseLeave = (0, import_react32.useCallback)((e) => {
|
|
703
|
+
const btn = e.currentTarget;
|
|
704
|
+
btn.style.transform = "scale(1)";
|
|
705
|
+
btn.style.background = "rgba(0,0,0,0.45)";
|
|
706
|
+
btn.style.borderColor = "rgba(255,255,255,0.18)";
|
|
707
|
+
}, []);
|
|
672
708
|
if (resolvedSources.length === 0) return null;
|
|
709
|
+
const showMuteButton = !showControls && !isMobile && !isPlayOnHover;
|
|
673
710
|
return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
|
|
674
711
|
"div",
|
|
675
712
|
{
|
|
@@ -685,11 +722,11 @@ var init_HlsPlayer = __esm({
|
|
|
685
722
|
className: "w-full h-full object-contain",
|
|
686
723
|
poster: fallbackPoster,
|
|
687
724
|
controls: showControls && (isMobile || isPlaying),
|
|
688
|
-
muted:
|
|
725
|
+
muted: startsMuted,
|
|
689
726
|
autoPlay: playOptions === "autoplay",
|
|
690
727
|
loop,
|
|
691
|
-
playsInline: true,
|
|
692
728
|
onClick: !isMobile ? handlePlayPause : void 0,
|
|
729
|
+
playsInline: true,
|
|
693
730
|
children: resolvedSources.map(({ src, media }, i) => /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
694
731
|
"source",
|
|
695
732
|
{
|
|
@@ -741,43 +778,51 @@ var init_HlsPlayer = __esm({
|
|
|
741
778
|
e.stopPropagation();
|
|
742
779
|
handlePlayPause();
|
|
743
780
|
},
|
|
744
|
-
style: {
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
781
|
+
style: { ...overlayButtonStyle, width: 64, height: 64 },
|
|
782
|
+
onMouseEnter: handleButtonMouseEnter,
|
|
783
|
+
onMouseLeave: handleButtonMouseLeave,
|
|
784
|
+
children: isPlaying ? /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
785
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)("rect", { x: "3.5", y: "2.5", width: "4.5", height: "15", rx: "1.5", fill: "white" }),
|
|
786
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)("rect", { x: "12", y: "2.5", width: "4.5", height: "15", rx: "1.5", fill: "white" })
|
|
787
|
+
] }) : /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", style: { transform: "translateX(2px)" }, children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("path", { d: "M5 3.5L17 10L5 16.5V3.5Z", fill: "white" }) })
|
|
788
|
+
}
|
|
789
|
+
)
|
|
790
|
+
}
|
|
791
|
+
),
|
|
792
|
+
showMuteButton && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
793
|
+
"div",
|
|
794
|
+
{
|
|
795
|
+
className: "absolute bottom-3 right-3 pointer-events-none",
|
|
796
|
+
style: {
|
|
797
|
+
opacity: isControlsVisible ? 1 : 0,
|
|
798
|
+
transition: "opacity 0.3s ease"
|
|
799
|
+
},
|
|
800
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
801
|
+
"button",
|
|
802
|
+
{
|
|
803
|
+
type: "button",
|
|
804
|
+
"aria-label": isMuted ? "Unmute" : "Mute",
|
|
805
|
+
onClick: (e) => {
|
|
806
|
+
e.stopPropagation();
|
|
807
|
+
handleMuteToggle();
|
|
771
808
|
},
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
809
|
+
style: overlayButtonStyle,
|
|
810
|
+
onMouseEnter: handleButtonMouseEnter,
|
|
811
|
+
onMouseLeave: handleButtonMouseLeave,
|
|
812
|
+
children: isMuted ? (
|
|
813
|
+
/* Muted — speaker with an X */
|
|
814
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("svg", { width: "18", height: "18", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
815
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)("path", { d: "M11 5L6 9H2v6h4l5 4V5Z", fill: "white" }),
|
|
816
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)("line", { x1: "23", y1: "9", x2: "17", y2: "15", stroke: "white", strokeWidth: "2", strokeLinecap: "round" }),
|
|
817
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)("line", { x1: "17", y1: "9", x2: "23", y2: "15", stroke: "white", strokeWidth: "2", strokeLinecap: "round" })
|
|
777
818
|
] })
|
|
778
819
|
) : (
|
|
779
|
-
/*
|
|
780
|
-
/* @__PURE__ */ (0, import_jsx_runtime41.
|
|
820
|
+
/* Unmuted — speaker with sound waves */
|
|
821
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("svg", { width: "18", height: "18", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
822
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)("path", { d: "M11 5L6 9H2v6h4l5 4V5Z", fill: "white" }),
|
|
823
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)("path", { d: "M15.54 8.46a5 5 0 0 1 0 7.07", stroke: "white", strokeWidth: "2", strokeLinecap: "round" }),
|
|
824
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)("path", { d: "M19.07 4.93a10 10 0 0 1 0 14.14", stroke: "white", strokeWidth: "2", strokeLinecap: "round" })
|
|
825
|
+
] })
|
|
781
826
|
)
|
|
782
827
|
}
|
|
783
828
|
)
|
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
HlsPlayer_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-2NTH6VLK.mjs";
|
|
4
4
|
import {
|
|
5
5
|
Button_default,
|
|
6
6
|
ClientButton_default,
|
|
@@ -1963,7 +1963,7 @@ var DeviceAssetSelector_default = DeviceAssetSelector;
|
|
|
1963
1963
|
|
|
1964
1964
|
// src/components/pageRenderingEngine/nodes/ImageNode.tsx
|
|
1965
1965
|
import { Fragment as Fragment2, jsx as jsx37 } from "react/jsx-runtime";
|
|
1966
|
-
var HlsPlayer = dynamic2(() => import("./HlsPlayer-
|
|
1966
|
+
var HlsPlayer = dynamic2(() => import("./HlsPlayer-VZHMWUEY.mjs"), {
|
|
1967
1967
|
ssr: false
|
|
1968
1968
|
});
|
|
1969
1969
|
var getNestedValue = (obj, path) => {
|
|
@@ -3645,7 +3645,7 @@ var Pagination_default = Pagination;
|
|
|
3645
3645
|
// src/components/pageRenderingEngine/nodes/ImageGalleryNode.tsx
|
|
3646
3646
|
import dynamic6 from "next/dynamic";
|
|
3647
3647
|
import { Fragment as Fragment8, jsx as jsx56, jsxs as jsxs31 } from "react/jsx-runtime";
|
|
3648
|
-
var HlsPlayer2 = dynamic6(() => import("./HlsPlayer-
|
|
3648
|
+
var HlsPlayer2 = dynamic6(() => import("./HlsPlayer-VZHMWUEY.mjs"), { ssr: false });
|
|
3649
3649
|
var deviceToMediaQuery = (device) => {
|
|
3650
3650
|
switch (device) {
|
|
3651
3651
|
case "sm":
|
package/package.json
CHANGED