@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.js
CHANGED
|
@@ -2875,7 +2875,6 @@ function MobileDepthRow({
|
|
|
2875
2875
|
);
|
|
2876
2876
|
}
|
|
2877
2877
|
var isHlsManifest = (url) => /\.m3u8(\?|$)/i.test(url);
|
|
2878
|
-
var HLS_MIME = "application/vnd.apple.mpegurl";
|
|
2879
2878
|
var MANIFEST_FAILURES = /* @__PURE__ */ new Set(["manifestLoadError", "manifestLoadTimeOut", "manifestParsingError"]);
|
|
2880
2879
|
var HlsVideo = React9__namespace.forwardRef(
|
|
2881
2880
|
({ src, capLevelToPlayerSize = true, onError, ...videoProps }, ref) => {
|
|
@@ -2893,7 +2892,7 @@ var HlsVideo = React9__namespace.forwardRef(
|
|
|
2893
2892
|
React9__namespace.useEffect(() => {
|
|
2894
2893
|
const video = videoRef.current;
|
|
2895
2894
|
if (!video || !activeSrc) return;
|
|
2896
|
-
if (!isHlsManifest(activeSrc)
|
|
2895
|
+
if (!isHlsManifest(activeSrc)) {
|
|
2897
2896
|
video.src = activeSrc;
|
|
2898
2897
|
return;
|
|
2899
2898
|
}
|