@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.js CHANGED
@@ -10833,7 +10833,7 @@ function LivoWaitingRoom({
10833
10833
  allowSound: true,
10834
10834
  className: "livo-waiting-room__stage"
10835
10835
  }
10836
- ) : /* @__PURE__ */ jsx("div", { className: "livo-waiting-room__fallback" }),
10836
+ ) : /* @__PURE__ */ jsx("div", { className: "livo-waiting-room__fallback livo-waiting-room__fallback--pulse" }),
10837
10837
  /* @__PURE__ */ jsx("p", { className: "livo-sr-only", role: "status", children: statusText }),
10838
10838
  hideBranding && hideStatus ? null : /* @__PURE__ */ jsxs("div", { className: "livo-waiting-room__overlay", children: [
10839
10839
  hideBranding ? null : /* @__PURE__ */ jsxs("div", { className: "livo-waiting-room__brand", children: [
@@ -10843,7 +10843,7 @@ function LivoWaitingRoom({
10843
10843
  organization.name ? /* @__PURE__ */ jsx("p", { children: organization.name }) : null
10844
10844
  ] })
10845
10845
  ] }),
10846
- hideStatus ? null : /* @__PURE__ */ jsx("p", { children: primaryStatus || waiting })
10846
+ hideStatus ? null : /* @__PURE__ */ jsx("p", { className: "livo-waiting-room__status", children: primaryStatus || waiting })
10847
10847
  ] })
10848
10848
  ] });
10849
10849
  }
@@ -11086,9 +11086,16 @@ function LivoPlayer({
11086
11086
  }
11087
11087
  if (!playbackUrl) {
11088
11088
  if (!resolved) {
11089
+ const loadingLabel = waitingLabels?.loading ?? "Loading playback";
11089
11090
  return wrapStage(
11090
11091
  "loading",
11091
- /* @__PURE__ */ jsx("div", { className: "livo-waiting-room", "data-livo-player": "loading", children: /* @__PURE__ */ jsx("div", { className: "livo-waiting-room__fallback" }) })
11092
+ /* @__PURE__ */ jsxs("div", { className: "livo-waiting-room", "data-livo-player": "loading", children: [
11093
+ /* @__PURE__ */ jsx("div", { className: "livo-waiting-room__fallback livo-waiting-room__fallback--pulse" }),
11094
+ /* @__PURE__ */ jsxs("div", { className: "livo-waiting-room__loading", children: [
11095
+ /* @__PURE__ */ jsx("span", { className: "livo-waiting-room__spinner", "aria-hidden": "true" }),
11096
+ /* @__PURE__ */ jsx("p", { className: "livo-waiting-room__loading-label", role: "status", children: loadingLabel })
11097
+ ] })
11098
+ ] })
11092
11099
  );
11093
11100
  }
11094
11101
  const curtain = stream?.curtain ?? vod?.curtain ?? null;