@livo-tv/sdk 1.18.0 → 1.19.0
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.cjs +10 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +10 -3
- package/dist/index.js.map +1 -1
- package/dist/styles.css +71 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -10855,7 +10855,7 @@ function LivoWaitingRoom({
|
|
|
10855
10855
|
allowSound: true,
|
|
10856
10856
|
className: "livo-waiting-room__stage"
|
|
10857
10857
|
}
|
|
10858
|
-
) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "livo-waiting-room__fallback" }),
|
|
10858
|
+
) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "livo-waiting-room__fallback livo-waiting-room__fallback--pulse" }),
|
|
10859
10859
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "livo-sr-only", role: "status", children: statusText }),
|
|
10860
10860
|
hideBranding && hideStatus ? null : /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "livo-waiting-room__overlay", children: [
|
|
10861
10861
|
hideBranding ? null : /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "livo-waiting-room__brand", children: [
|
|
@@ -10865,7 +10865,7 @@ function LivoWaitingRoom({
|
|
|
10865
10865
|
organization.name ? /* @__PURE__ */ jsxRuntime.jsx("p", { children: organization.name }) : null
|
|
10866
10866
|
] })
|
|
10867
10867
|
] }),
|
|
10868
|
-
hideStatus ? null : /* @__PURE__ */ jsxRuntime.jsx("p", { children: primaryStatus || waiting })
|
|
10868
|
+
hideStatus ? null : /* @__PURE__ */ jsxRuntime.jsx("p", { className: "livo-waiting-room__status", children: primaryStatus || waiting })
|
|
10869
10869
|
] })
|
|
10870
10870
|
] });
|
|
10871
10871
|
}
|
|
@@ -11108,9 +11108,16 @@ function LivoPlayer({
|
|
|
11108
11108
|
}
|
|
11109
11109
|
if (!playbackUrl) {
|
|
11110
11110
|
if (!resolved) {
|
|
11111
|
+
const loadingLabel = waitingLabels?.loading ?? "Loading playback";
|
|
11111
11112
|
return wrapStage(
|
|
11112
11113
|
"loading",
|
|
11113
|
-
/* @__PURE__ */ jsxRuntime.
|
|
11114
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "livo-waiting-room", "data-livo-player": "loading", children: [
|
|
11115
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "livo-waiting-room__fallback livo-waiting-room__fallback--pulse" }),
|
|
11116
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "livo-waiting-room__loading", children: [
|
|
11117
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "livo-waiting-room__spinner", "aria-hidden": "true" }),
|
|
11118
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "livo-waiting-room__loading-label", role: "status", children: loadingLabel })
|
|
11119
|
+
] })
|
|
11120
|
+
] })
|
|
11114
11121
|
);
|
|
11115
11122
|
}
|
|
11116
11123
|
const curtain = stream?.curtain ?? vod?.curtain ?? null;
|