@loafmarkets/ui 0.1.424 → 0.1.425
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/index.js +1 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -2850,7 +2850,6 @@ function MobileDepthRow({
|
|
|
2850
2850
|
);
|
|
2851
2851
|
}
|
|
2852
2852
|
var isHlsManifest = (url) => /\.m3u8(\?|$)/i.test(url);
|
|
2853
|
-
var HLS_MIME = "application/vnd.apple.mpegurl";
|
|
2854
2853
|
var MANIFEST_FAILURES = /* @__PURE__ */ new Set(["manifestLoadError", "manifestLoadTimeOut", "manifestParsingError"]);
|
|
2855
2854
|
var HlsVideo = React9.forwardRef(
|
|
2856
2855
|
({ src, capLevelToPlayerSize = true, onError, ...videoProps }, ref) => {
|
|
@@ -2868,7 +2867,7 @@ var HlsVideo = React9.forwardRef(
|
|
|
2868
2867
|
React9.useEffect(() => {
|
|
2869
2868
|
const video = videoRef.current;
|
|
2870
2869
|
if (!video || !activeSrc) return;
|
|
2871
|
-
if (!isHlsManifest(activeSrc)
|
|
2870
|
+
if (!isHlsManifest(activeSrc)) {
|
|
2872
2871
|
video.src = activeSrc;
|
|
2873
2872
|
return;
|
|
2874
2873
|
}
|