@mottosports/motto-video-player 1.0.1-rc.54 → 1.0.1-rc.55

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.mjs CHANGED
@@ -1170,7 +1170,7 @@ var supportsWidevinePersistentLicenses = () => {
1170
1170
  import initShakaPlayerMux from "@mux/mux-data-shakaplayer";
1171
1171
 
1172
1172
  // package.json
1173
- var version = "1.0.1-rc.54";
1173
+ var version = "1.0.1-rc.55";
1174
1174
 
1175
1175
  // src/utils/licenseCache.ts
1176
1176
  var PERSISTENT_LICENSE_PREFIX = "motto_lic_";
@@ -3902,7 +3902,7 @@ var Player = forwardRef(
3902
3902
  getMuxMonitor: () => null
3903
3903
  }), [getAvailableQualities, setQuality, skipBack, skipForward, updateMuxData]);
3904
3904
  const isResponsive = !width && !height;
3905
- const containerClasses = twMerge2(containerClassName, "motto-video-container bg-black overflow-hidden md:rounded-2xl");
3905
+ const containerClasses = twMerge2(containerClassName, "motto-video-container bg-black ");
3906
3906
  const containerStyle = isResponsive ? {
3907
3907
  aspectRatio: aspectRatio.toString()
3908
3908
  } : { width, height };
@@ -4648,17 +4648,17 @@ var Event = ({
4648
4648
  events.onEmptyPlaylists();
4649
4649
  }
4650
4650
  if (loadingPlaylist) {
4651
- return /* @__PURE__ */ jsx10("div", { className: twMerge4("md:rounded-2xl overflow-hidden aspect-video", className), children: /* @__PURE__ */ jsx10("div", { className: "relative w-full h-full bg-[#151515]", children: /* @__PURE__ */ jsx10(Loading, {}) }) });
4651
+ return /* @__PURE__ */ jsx10("div", { className: twMerge4("", className), children: /* @__PURE__ */ jsx10("div", { className: "relative w-full h-full bg-[#151515]", children: /* @__PURE__ */ jsx10(Loading, {}) }) });
4652
4652
  }
4653
4653
  if (activePlaylist && activeVideoId && videosData) {
4654
4654
  const activeVideo = videosData.find((video) => video.id === activeVideoId);
4655
- return /* @__PURE__ */ jsxs8("div", { className: twMerge4("md:rounded-2xl overflow-hidden aspect-video", className), children: [
4655
+ return /* @__PURE__ */ jsxs8("div", { className: twMerge4("", className), children: [
4656
4656
  /* @__PURE__ */ jsx10("div", { className: "relative w-full h-full", children: /* @__PURE__ */ jsx10(
4657
4657
  Player,
4658
4658
  {
4659
4659
  ...props,
4660
4660
  src: activePlaylist,
4661
- className: twMerge4(className, "peer"),
4661
+ className: twMerge4(className, "peer aspect-video"),
4662
4662
  events,
4663
4663
  locale,
4664
4664
  containerClassName: "w-full h-full"
@@ -4676,7 +4676,7 @@ var Event = ({
4676
4676
  ] });
4677
4677
  }
4678
4678
  if (eventData) {
4679
- return /* @__PURE__ */ jsx10("div", { className: twMerge4("md:rounded-2xl overflow-hidden aspect-video", className), children: /* @__PURE__ */ jsx10("div", { className: "relative w-full h-full", children: /* @__PURE__ */ jsx10(
4679
+ return /* @__PURE__ */ jsx10("div", { className: twMerge4("", className), children: /* @__PURE__ */ jsx10("div", { className: "relative w-full h-full", children: /* @__PURE__ */ jsx10(
4680
4680
  PreEvent,
4681
4681
  {
4682
4682
  event: eventData,
@@ -4960,7 +4960,7 @@ var CreativeWork = ({
4960
4960
  if (error) {
4961
4961
  const title = t(error.message)?.length ? t(error.message) : t("DEFAULT_ERROR");
4962
4962
  const description = t(`${error.message}_DESCRIPTION`)?.length ? t(`${error.message}_DESCRIPTION`) : t("DEFAULT_ERROR_DESCRIPTION");
4963
- return /* @__PURE__ */ jsx11("div", { className: twMerge5("md:rounded-2xl overflow-hidden aspect-video", className), children: /* @__PURE__ */ jsx11("div", { className: "relative w-full h-full", children: /* @__PURE__ */ jsx11(
4963
+ return /* @__PURE__ */ jsx11("div", { className: twMerge5("", className), children: /* @__PURE__ */ jsx11("div", { className: "relative w-full h-full", children: /* @__PURE__ */ jsx11(
4964
4964
  ErrorScreen,
4965
4965
  {
4966
4966
  title,
@@ -4990,10 +4990,10 @@ var CreativeWork = ({
4990
4990
  events
4991
4991
  ]);
4992
4992
  if (isCreativeWorkLoading || videosIsLoading || loadingApisState) {
4993
- return /* @__PURE__ */ jsx11("div", { className: twMerge5("md:rounded-2xl overflow-hidden aspect-video", className), children: /* @__PURE__ */ jsx11("div", { className: "relative w-full h-full", children: /* @__PURE__ */ jsx11(Loading, {}) }) });
4993
+ return /* @__PURE__ */ jsx11("div", { className: twMerge5("", className), children: /* @__PURE__ */ jsx11("div", { className: "relative w-full h-full", children: /* @__PURE__ */ jsx11(Loading, {}) }) });
4994
4994
  }
4995
4995
  if (showCountDown && creativeWorkData) {
4996
- return /* @__PURE__ */ jsx11("div", { className: twMerge5("md:rounded-2xl overflow-hidden aspect-video", className), children: /* @__PURE__ */ jsx11("div", { className: "relative w-full h-full bg-base-200 text-base-content flex justify-center items-center flex-col", children: /* @__PURE__ */ jsx11(
4996
+ return /* @__PURE__ */ jsx11("div", { className: twMerge5("", className), children: /* @__PURE__ */ jsx11("div", { className: "relative w-full h-full bg-base-200 text-base-content flex justify-center items-center flex-col", children: /* @__PURE__ */ jsx11(
4997
4997
  PreCreativeWork,
4998
4998
  {
4999
4999
  creativeWork: creativeWorkData,