zarebin-player-library 1.0.25 → 1.0.26

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.
@@ -22566,10 +22566,13 @@ var Popover = forwardRef(({ children, status, onClose, type, classNames, parentC
22566
22566
  videoElementSizeInfo,
22567
22567
  isComplexPortrait
22568
22568
  }), shallowEqual);
22569
- const [showPopover] = useState(status);
22569
+ const [showPopover, setShowPopover] = useState(status);
22570
22570
  const [maxHeight, setMaxHeight] = useState(0);
22571
22571
  const [maxHeightOnTouchMove, setMaxHeightOnTouchMove] = useState(0);
22572
22572
  const [zIndexOnCatchUp, setZIndexOnCatchUp] = useState(0);
22573
+ useEffect(() => {
22574
+ setShowPopover(status);
22575
+ }, [status]);
22573
22576
  useEffect(() => {
22574
22577
  if (conditions(ConditionName.isComplexPortrait) && status) setMaxHeight(window.innerHeight - videoElementSizeInfo.bottom);
22575
22578
  }, [status]);
@@ -66323,10 +66326,10 @@ var Speed = () => {
66323
66326
  onMouseOver: () => !conditions(ConditionName.isTouchScreen) && setShowTooltip(true),
66324
66327
  onMouseLeave: () => !conditions(ConditionName.isTouchScreen) && setShowTooltip(false)
66325
66328
  }),
66326
- showTooltip && /* @__PURE__ */ jsxs(Suspense, { children: [" ", /* @__PURE__ */ jsx(ControllbarTooltip, {
66329
+ showTooltip && /* @__PURE__ */ jsx(Suspense, { children: /* @__PURE__ */ jsx(ControllbarTooltip, {
66327
66330
  title: `${translate().playBackSpeed} (s)`,
66328
66331
  className: "!pl-right-[-38px]"
66329
- })] }),
66332
+ }) }),
66330
66333
  /* @__PURE__ */ jsx(Popover, {
66331
66334
  classNames: `pl-p-[14px] pl-overflow-hidden pl-p-3 !pl-bg-white dark:!pl-bg-dark-13 ${!conditions(ConditionName.isComplexPortrait) && "pl-mb-[33px] pl-right-0"} ${conditions(ConditionName.isFullMobilePortrait) && "!pl-w-screen"} ${conditions(ConditionName.isMiniPlayer) && !conditions(ConditionName.isFullMobilePortrait) ? `!pl-fixed pl-rounded-r-none pl-w-[200px] !pl-mb-0` : "pl-w-[285px]"}`,
66332
66335
  animation: conditions(ConditionName.isMiniPlayer) && !conditions(ConditionName.isFullMobilePortrait) ? speedPopover ? "animate__fadeInRight" : "animate__fadeOutRight" : void 0,