@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 +8 -10
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -10
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1158,7 +1158,7 @@ var supportsWidevinePersistentLicenses = () => {
|
|
|
1158
1158
|
import initShakaPlayerMux from "@mux/mux-data-shakaplayer";
|
|
1159
1159
|
|
|
1160
1160
|
// package.json
|
|
1161
|
-
var version = "1.0.1-rc.
|
|
1161
|
+
var version = "1.0.1-rc.45";
|
|
1162
1162
|
|
|
1163
1163
|
// src/utils/licenseCache.ts
|
|
1164
1164
|
var PERSISTENT_LICENSE_PREFIX = "motto_lic_";
|
|
@@ -1990,9 +1990,9 @@ var useShakaUI = (playerRef, containerRef, videoRef, controls, chromecastConfig,
|
|
|
1990
1990
|
},
|
|
1991
1991
|
controlPanelElements,
|
|
1992
1992
|
addBigPlayButton: isMobile,
|
|
1993
|
-
//
|
|
1994
|
-
|
|
1995
|
-
|
|
1993
|
+
// For now, Chromecast via Shaka must use the Motto receiver that runs on the legacy cast SDK (2.0), because
|
|
1994
|
+
// Shaka does not support the newer Cast SDK (3.0+) in its native integration.
|
|
1995
|
+
castReceiverAppId: "EC900D4D",
|
|
1996
1996
|
castAndroidReceiverCompatible: true,
|
|
1997
1997
|
// Enable Android TV compatibility
|
|
1998
1998
|
overflowMenuButtons: [
|
|
@@ -4579,13 +4579,12 @@ function PreEvent({
|
|
|
4579
4579
|
const days = Math.floor(remainingTime / 1e3 / 60 / 60 / 24);
|
|
4580
4580
|
return /* @__PURE__ */ jsxs8("div", { className: "grid grid-flow-col gap-5 text-center auto-cols-max", children: [
|
|
4581
4581
|
/* @__PURE__ */ jsxs8("div", { className: "flex flex-col p-2 bg-neutral rounded-box text-neutral-content", children: [
|
|
4582
|
-
/* @__PURE__ */ jsx10("span", { className: "
|
|
4582
|
+
/* @__PURE__ */ jsx10("span", { className: "font-mono text-5xl", children: /* @__PURE__ */ jsx10(
|
|
4583
4583
|
"span",
|
|
4584
4584
|
{
|
|
4585
|
-
style: { "--value": days },
|
|
4586
4585
|
"aria-live": "polite",
|
|
4587
4586
|
"aria-label": days.toString(),
|
|
4588
|
-
children: days
|
|
4587
|
+
children: days.toString()
|
|
4589
4588
|
}
|
|
4590
4589
|
) }),
|
|
4591
4590
|
/* @__PURE__ */ jsx10("span", { className: "text-sm uppercase tracking-widest mt-1", children: t("DAYS") })
|
|
@@ -4929,13 +4928,12 @@ function PreCreativeWork({
|
|
|
4929
4928
|
const days = Math.floor(remainingTime / 1e3 / 60 / 60 / 24);
|
|
4930
4929
|
return /* @__PURE__ */ jsxs9("div", { className: "grid grid-flow-col gap-5 text-center auto-cols-max", children: [
|
|
4931
4930
|
/* @__PURE__ */ jsxs9("div", { className: "flex flex-col p-2 bg-neutral rounded-box text-neutral-content", children: [
|
|
4932
|
-
/* @__PURE__ */ jsx11("span", { className: "
|
|
4931
|
+
/* @__PURE__ */ jsx11("span", { className: "font-mono text-5xl", children: /* @__PURE__ */ jsx11(
|
|
4933
4932
|
"span",
|
|
4934
4933
|
{
|
|
4935
|
-
style: { "--value": days },
|
|
4936
4934
|
"aria-live": "polite",
|
|
4937
4935
|
"aria-label": days.toString(),
|
|
4938
|
-
children: days
|
|
4936
|
+
children: days.toString()
|
|
4939
4937
|
}
|
|
4940
4938
|
) }),
|
|
4941
4939
|
/* @__PURE__ */ jsx11("span", { className: "text-sm uppercase tracking-widest mt-1", children: t("DAYS") })
|