@mottosports/motto-video-player 1.0.1-rc.43 → 1.0.1-rc.45

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
@@ -1199,7 +1199,7 @@ var supportsWidevinePersistentLicenses = () => {
1199
1199
  var import_mux_data_shakaplayer = __toESM(require("@mux/mux-data-shakaplayer"));
1200
1200
 
1201
1201
  // package.json
1202
- var version = "1.0.1-rc.43";
1202
+ var version = "1.0.1-rc.45";
1203
1203
 
1204
1204
  // src/utils/licenseCache.ts
1205
1205
  var PERSISTENT_LICENSE_PREFIX = "motto_lic_";
@@ -2031,9 +2031,9 @@ var useShakaUI = (playerRef, containerRef, videoRef, controls, chromecastConfig,
2031
2031
  },
2032
2032
  controlPanelElements,
2033
2033
  addBigPlayButton: isMobile,
2034
- // Always configure chromecast with defaults or provided config
2035
- castReceiverAppId: chromecastConfig?.receiverApplicationId || "CC1AD845",
2036
- // Default Media Receiver
2034
+ // For now, Chromecast via Shaka must use the Motto receiver that runs on the legacy cast SDK (2.0), because
2035
+ // Shaka does not support the newer Cast SDK (3.0+) in its native integration.
2036
+ castReceiverAppId: "EC900D4D",
2037
2037
  castAndroidReceiverCompatible: true,
2038
2038
  // Enable Android TV compatibility
2039
2039
  overflowMenuButtons: [
@@ -4620,13 +4620,12 @@ function PreEvent({
4620
4620
  const days = Math.floor(remainingTime / 1e3 / 60 / 60 / 24);
4621
4621
  return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "grid grid-flow-col gap-5 text-center auto-cols-max", children: [
4622
4622
  /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "flex flex-col p-2 bg-neutral rounded-box text-neutral-content", children: [
4623
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { className: "countdown font-mono text-5xl", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
4623
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { className: "font-mono text-5xl", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
4624
4624
  "span",
4625
4625
  {
4626
- style: { "--value": days },
4627
4626
  "aria-live": "polite",
4628
4627
  "aria-label": days.toString(),
4629
- children: days?.toString()?.padStart(2, "0")
4628
+ children: days.toString()
4630
4629
  }
4631
4630
  ) }),
4632
4631
  /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { className: "text-sm uppercase tracking-widest mt-1", children: t("DAYS") })
@@ -4970,13 +4969,12 @@ function PreCreativeWork({
4970
4969
  const days = Math.floor(remainingTime / 1e3 / 60 / 60 / 24);
4971
4970
  return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "grid grid-flow-col gap-5 text-center auto-cols-max", children: [
4972
4971
  /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "flex flex-col p-2 bg-neutral rounded-box text-neutral-content", children: [
4973
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { className: "countdown font-mono text-5xl", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
4972
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { className: "font-mono text-5xl", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
4974
4973
  "span",
4975
4974
  {
4976
- style: { "--value": days },
4977
4975
  "aria-live": "polite",
4978
4976
  "aria-label": days.toString(),
4979
- children: days?.toString()?.padStart(2, "0")
4977
+ children: days.toString()
4980
4978
  }
4981
4979
  ) }),
4982
4980
  /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { className: "text-sm uppercase tracking-widest mt-1", children: t("DAYS") })