zarebin-player-library 1.1.7 → 1.1.9

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.
@@ -69006,9 +69006,12 @@ var useVideoControls = (ad, params) => {
69006
69006
  };
69007
69007
  //#endregion
69008
69008
  //#region src/videoPlayerLibrary/shared/ui/src/components/advertisement/MoreInfoButton.tsx
69009
- var MoreInfoButton = ({ link }) => link ? /* @__PURE__ */ jsx("a", {
69010
- href: link,
69011
- target: "_blank",
69009
+ var MoreInfoButton = ({ link }) => link ? /* @__PURE__ */ jsx("div", {
69010
+ onClick: (event) => {
69011
+ event.stopPropagation();
69012
+ event.preventDefault();
69013
+ window.open(link);
69014
+ },
69012
69015
  className: `pl-absolute pl-z-[3] pl-flex pl-cursor-pointer pl-items-center pl-gap-2 pl-rounded-lg pl-bg-gray-500 pl-font-medium pl-text-gray-100 ${conditions(ConditionName.isTouchScreen) ? "pl-bottom-[56px] pl-left-2 pl-px-[10px] pl-py-[6px] pl-text-xs lg:pl-bottom-[78px] lg:pl-h-11 lg:pl-text-[14px]" : "pl-bottom-[66px] pl-left-6 pl-h-12 pl-px-5 pl-py-2 pl-text-[16px] lg:pl-bottom-[88px]"}`,
69013
69016
  children: "اطلاعات بیشتر"
69014
69017
  }) : null;
@@ -69171,7 +69174,7 @@ var Advertisement = () => {
69171
69174
  ]
69172
69175
  }),
69173
69176
  /* @__PURE__ */ jsx(MoreInfoButton, {
69174
- link: adData?.ad_link,
69177
+ link: adData.ad_link,
69175
69178
  currentTime
69176
69179
  }),
69177
69180
  hasSkip && /* @__PURE__ */ jsx(SkipButton, {