zarebin-player-library 1.0.24 → 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.
|
@@ -10627,50 +10627,50 @@
|
|
|
10627
10627
|
}
|
|
10628
10628
|
}.animate__slideOutUp {
|
|
10629
10629
|
animation-name: slideOutUp;
|
|
10630
|
-
}* {
|
|
10631
|
-
box-sizing: border-box !important;
|
|
10632
|
-
-webkit-tap-highlight-color: transparent;
|
|
10633
|
-
-webkit-user-select: none;
|
|
10634
|
-
-moz-user-select: none;
|
|
10635
|
-
user-select: none;
|
|
10636
|
-
}.dvh {
|
|
10637
|
-
height: 100vh;
|
|
10638
|
-
}@supports (height: 100dvh) {
|
|
10639
|
-
.dvh {
|
|
10640
|
-
height: 100dvh !important;
|
|
10641
|
-
}
|
|
10642
|
-
}#video-player-container {
|
|
10643
|
-
padding: 0;
|
|
10644
|
-
margin: 0;
|
|
10645
|
-
font-family:
|
|
10646
|
-
"IranYekanFaMobile",
|
|
10647
|
-
-apple-system,
|
|
10648
|
-
BlinkMacSystemFont,
|
|
10649
|
-
Segoe UI,
|
|
10650
|
-
Roboto,
|
|
10651
|
-
Oxygen,
|
|
10652
|
-
Ubuntu,
|
|
10653
|
-
Cantarell,
|
|
10654
|
-
Fira Sans,
|
|
10655
|
-
Droid Sans,
|
|
10656
|
-
Helvetica Neue,
|
|
10657
|
-
sans-serif !important;
|
|
10658
|
-
direction: rtl;
|
|
10659
|
-
touch-action: pan-y;
|
|
10660
|
-
max-height: 100dvh;
|
|
10661
|
-
overflow-x: hidden;
|
|
10662
|
-
}@media print {
|
|
10663
|
-
#video-player-container {
|
|
10664
|
-
print-color-adjust: exact;
|
|
10665
|
-
-webkit-print-color-adjust: exact;
|
|
10666
|
-
}
|
|
10667
|
-
}::-webkit-outer-spin-button,
|
|
10668
|
-
::-webkit-inner-spin-button {
|
|
10669
|
-
-webkit-appearance: none;
|
|
10670
|
-
appearance: none;
|
|
10671
|
-
}a {
|
|
10672
|
-
color: inherit;
|
|
10673
|
-
text-decoration: none;
|
|
10630
|
+
}* {
|
|
10631
|
+
box-sizing: border-box !important;
|
|
10632
|
+
-webkit-tap-highlight-color: transparent;
|
|
10633
|
+
-webkit-user-select: none;
|
|
10634
|
+
-moz-user-select: none;
|
|
10635
|
+
user-select: none;
|
|
10636
|
+
}.dvh {
|
|
10637
|
+
height: 100vh;
|
|
10638
|
+
}@supports (height: 100dvh) {
|
|
10639
|
+
.dvh {
|
|
10640
|
+
height: 100dvh !important;
|
|
10641
|
+
}
|
|
10642
|
+
}#video-player-container {
|
|
10643
|
+
padding: 0;
|
|
10644
|
+
margin: 0;
|
|
10645
|
+
font-family:
|
|
10646
|
+
"IranYekanFaMobile",
|
|
10647
|
+
-apple-system,
|
|
10648
|
+
BlinkMacSystemFont,
|
|
10649
|
+
Segoe UI,
|
|
10650
|
+
Roboto,
|
|
10651
|
+
Oxygen,
|
|
10652
|
+
Ubuntu,
|
|
10653
|
+
Cantarell,
|
|
10654
|
+
Fira Sans,
|
|
10655
|
+
Droid Sans,
|
|
10656
|
+
Helvetica Neue,
|
|
10657
|
+
sans-serif !important;
|
|
10658
|
+
direction: rtl;
|
|
10659
|
+
touch-action: pan-y;
|
|
10660
|
+
max-height: 100dvh;
|
|
10661
|
+
overflow-x: hidden;
|
|
10662
|
+
}@media print {
|
|
10663
|
+
#video-player-container {
|
|
10664
|
+
print-color-adjust: exact;
|
|
10665
|
+
-webkit-print-color-adjust: exact;
|
|
10666
|
+
}
|
|
10667
|
+
}::-webkit-outer-spin-button,
|
|
10668
|
+
::-webkit-inner-spin-button {
|
|
10669
|
+
-webkit-appearance: none;
|
|
10670
|
+
appearance: none;
|
|
10671
|
+
}a {
|
|
10672
|
+
color: inherit;
|
|
10673
|
+
text-decoration: none;
|
|
10674
10674
|
}*, ::before, ::after{
|
|
10675
10675
|
--tw-border-spacing-x: 0;
|
|
10676
10676
|
--tw-border-spacing-y: 0;
|
|
@@ -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__ */
|
|
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,
|
|
@@ -81895,7 +81898,7 @@ var VideoPlayer = ({ params }) => {
|
|
|
81895
81898
|
theme: conditions(ConditionName.isDarkMode) ? "dark" : "light"
|
|
81896
81899
|
}), /* @__PURE__ */ jsx("div", {
|
|
81897
81900
|
id: "video-player-container",
|
|
81898
|
-
className: "pl-
|
|
81901
|
+
className: "pl-h-full pl-w-full pl-text-black dark:pl-text-white",
|
|
81899
81902
|
children: element
|
|
81900
81903
|
})] });
|
|
81901
81904
|
};
|