zarebin-player-library 1.1.4 → 1.1.6
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.
|
@@ -11072,8 +11072,6 @@ video {
|
|
|
11072
11072
|
bottom: 85px !important;
|
|
11073
11073
|
}.\!pl-left-0{
|
|
11074
11074
|
left: 0px !important;
|
|
11075
|
-
}.\!pl-left-10{
|
|
11076
|
-
left: 2.5rem !important;
|
|
11077
11075
|
}.\!pl-left-8{
|
|
11078
11076
|
left: 2rem !important;
|
|
11079
11077
|
}.\!pl-right-0{
|
|
@@ -11082,6 +11080,8 @@ video {
|
|
|
11082
11080
|
right: -10px !important;
|
|
11083
11081
|
}.\!pl-right-\[-38px\]{
|
|
11084
11082
|
right: -38px !important;
|
|
11083
|
+
}.\!pl-right-\[-40px\]{
|
|
11084
|
+
right: -40px !important;
|
|
11085
11085
|
}.\!pl-right-\[-48px\]{
|
|
11086
11086
|
right: -48px !important;
|
|
11087
11087
|
}.\!pl-right-\[10px\]{
|
|
@@ -11442,6 +11442,8 @@ video {
|
|
|
11442
11442
|
margin-right: 6px;
|
|
11443
11443
|
}.pl-mr-auto{
|
|
11444
11444
|
margin-right: auto;
|
|
11445
|
+
}.pl-ms-1\.5{
|
|
11446
|
+
margin-inline-start: 0.375rem;
|
|
11445
11447
|
}.pl-mt-0\.5{
|
|
11446
11448
|
margin-top: 0.125rem;
|
|
11447
11449
|
}.pl-mt-1{
|
|
@@ -609,7 +609,8 @@ var VideoDataSliceState = {
|
|
|
609
609
|
isReady: false,
|
|
610
610
|
showScreen: false,
|
|
611
611
|
trailer: [],
|
|
612
|
-
hlsLiveSyncPosition: 0
|
|
612
|
+
hlsLiveSyncPosition: 0,
|
|
613
|
+
adData: void 0
|
|
613
614
|
};
|
|
614
615
|
var videoDataSlice = createSlice({
|
|
615
616
|
name: "videoData",
|
|
@@ -52201,7 +52202,7 @@ var FullRate = () => {
|
|
|
52201
52202
|
className: `animate__animated pl-flex pl-h-[38px] pl-items-center ${fullRateStyles()} pl-border pl-border-secondary-300`,
|
|
52202
52203
|
style: { zIndex: zIndex.fullrate },
|
|
52203
52204
|
children: [/* @__PURE__ */ jsxs("div", {
|
|
52204
|
-
className: `pl-flex pl-h-full pl-w-
|
|
52205
|
+
className: `pl-flex pl-h-full pl-w-fit pl-flex-col pl-items-center pl-gap-[4px] pl-rounded-r-[4px] pl-bg-secondary-100 pl-px-2 pl-py-[10px] dark:pl-bg-gray-800`,
|
|
52205
52206
|
children: [/* @__PURE__ */ jsx("p", {
|
|
52206
52207
|
className: `pl-w-max pl-text-[11px] pl-font-medium pl-text-black dark:pl-text-white`,
|
|
52207
52208
|
children: translate().fullRateInternetTraffic
|
|
@@ -65771,7 +65772,7 @@ var MarkersList = () => {
|
|
|
65771
65772
|
children: /* @__PURE__ */ jsxs("div", {
|
|
65772
65773
|
className: "pl-my-4 pl-flex pl-flex-col pl-items-center pl-justify-between pl-gap-1 pl-text-[16px] pl-font-medium pl-text-secondary-800 dark:pl-text-white",
|
|
65773
65774
|
children: [/* @__PURE__ */ jsx("div", {
|
|
65774
|
-
className: "pl-relative pl-flex pl-h-[110px] pl-w-[126px] pl-shrink-0 pl-flex-col pl-items-center pl-justify-center pl-self-center pl-rounded-[12px] pl-border
|
|
65775
|
+
className: "pl-relative pl-flex pl-h-[110px] pl-w-[126px] pl-shrink-0 pl-flex-col pl-items-center pl-justify-center pl-self-center pl-rounded-[12px] pl-border-[1.5px] pl-bg-main/[0.1]",
|
|
65775
65776
|
children: /* @__PURE__ */ jsx("span", {
|
|
65776
65777
|
className: "pl-emoji-mart-emoji pl-flex pl-h-full pl-flex-col pl-items-center pl-justify-center pl-gap-[11px]",
|
|
65777
65778
|
children: /* @__PURE__ */ jsx(Emoji, {
|
|
@@ -66762,7 +66763,7 @@ var SoundVolume = () => {
|
|
|
66762
66763
|
onMouseOver: () => !conditions(ConditionName.isTouchScreen) && setShowTooltip(true),
|
|
66763
66764
|
onMouseLeave: () => !conditions(ConditionName.isTouchScreen) && setShowTooltip(false)
|
|
66764
66765
|
}), showTooltip && /* @__PURE__ */ jsx(Suspense, { children: /* @__PURE__ */ jsx(ControllbarTooltip, {
|
|
66765
|
-
className: `${conditions(ConditionName.isStaticFormat) && "
|
|
66766
|
+
className: `${(conditions(ConditionName.isStaticFormat) || conditions(ConditionName.hasAd)) && "!pl-right-[-40px]"}`,
|
|
66766
66767
|
title: `${conditions(ConditionName.hasSound) ? translate().unmute : translate().mute} (m)`
|
|
66767
66768
|
}) })]
|
|
66768
66769
|
})]
|
|
@@ -68834,7 +68835,7 @@ var ContinuousPlayback = () => {
|
|
|
68834
68835
|
const { videoSettings } = useAppSelector(({ user: { videoSettings } }) => ({ videoSettings }), shallowEqual);
|
|
68835
68836
|
const timer = useContinuousePlaybackTimer();
|
|
68836
68837
|
return /* @__PURE__ */ jsxs("div", {
|
|
68837
|
-
className: "pl-absolute pl-flex pl-h-full pl-w-full pl-flex-col pl-items-center pl-justify-center pl-bg-white/[0.8] pl-px-6 dark:pl-bg-dark-1/[0.8]",
|
|
68838
|
+
className: "no-scrollbar z-[100000] pl-absolute pl-flex pl-h-full pl-w-full pl-flex-col pl-items-center pl-justify-center pl-overflow-y-auto pl-bg-white/[0.8] pl-px-6 pl-pb-1 dark:pl-bg-dark-1/[0.8]",
|
|
68838
68839
|
style: { zIndex: zIndex.continuousPlayback },
|
|
68839
68840
|
children: [
|
|
68840
68841
|
/* @__PURE__ */ jsxs("div", {
|
|
@@ -68926,7 +68927,7 @@ var useVideoControls = (ad, params) => {
|
|
|
68926
68927
|
setIsCounting(true);
|
|
68927
68928
|
setIsPaused(false);
|
|
68928
68929
|
if (firstPlayRef.current) {
|
|
68929
|
-
params.ad.onAdView();
|
|
68930
|
+
params.ad.onAdView(ad);
|
|
68930
68931
|
setFirstPlay(false);
|
|
68931
68932
|
}
|
|
68932
68933
|
};
|
|
@@ -69038,7 +69039,7 @@ var SkipButton = ({ skipCounter }) => {
|
|
|
69038
69039
|
//#endregion
|
|
69039
69040
|
//#region src/videoPlayerLibrary/shared/ui/src/components/advertisement/UnMuteVideo.tsx
|
|
69040
69041
|
var UnMuteVideo = ({ advertisement }) => /* @__PURE__ */ jsxs("div", {
|
|
69041
|
-
className: `pl-flex pl-cursor-pointer pl-items-center pl-rounded-
|
|
69042
|
+
className: `pl-flex pl-cursor-pointer pl-items-center pl-rounded-lg pl-bg-gray-500 ${!advertisement ? "pl-absolute -pl-left-2 pl-top-[60px]" : ""} ${conditions(ConditionName.isTouchScreen) ? "pl-gap-1 pl-px-2 pl-py-[10px]" : "!pl-left-8 pl-gap-2 pl-p-3"} ${conditions(ConditionName.isTouchScreen) && "pl-mx-4"}`,
|
|
69042
69043
|
children: [/* @__PURE__ */ jsx("img", {
|
|
69043
69044
|
src: IMAGES.mute,
|
|
69044
69045
|
alt: "mute icon",
|
|
@@ -72933,7 +72934,7 @@ var PlayListCard = ({ playListCardInfo }) => {
|
|
|
72933
72934
|
}) : /* @__PURE__ */ jsx(Suspense, { children: /* @__PURE__ */ jsx(TruncateMarkup, {
|
|
72934
72935
|
ellipsis: () => /* @__PURE__ */ jsx("span", {
|
|
72935
72936
|
onClick: () => setShowAllDescription(true),
|
|
72936
|
-
className: "pl-text-primary-600",
|
|
72937
|
+
className: "pl-ms-1.5 pl-text-primary-600",
|
|
72937
72938
|
children: `${translate().more}...`
|
|
72938
72939
|
}),
|
|
72939
72940
|
lines: 2,
|
|
@@ -81167,7 +81168,7 @@ var Trailer = () => {
|
|
|
81167
81168
|
}) : /* @__PURE__ */ jsx(Suspense, { children: /* @__PURE__ */ jsx(TruncateMarkup, {
|
|
81168
81169
|
ellipsis: () => /* @__PURE__ */ jsx("span", {
|
|
81169
81170
|
onClick: () => setShowCompleteDescription(true),
|
|
81170
|
-
className: "pl-text-primary-600",
|
|
81171
|
+
className: "pl-ms-1.5 pl-text-primary-600",
|
|
81171
81172
|
children: `${translate().more}...`
|
|
81172
81173
|
}),
|
|
81173
81174
|
lines: 2,
|
|
@@ -81264,7 +81265,7 @@ var ComplexPortrait = () => {
|
|
|
81264
81265
|
}) : /* @__PURE__ */ jsx(Suspense, { children: /* @__PURE__ */ jsx(TruncateMarkup, {
|
|
81265
81266
|
ellipsis: () => /* @__PURE__ */ jsx("span", {
|
|
81266
81267
|
onClick: () => setShowCompleteDescription(true),
|
|
81267
|
-
className: "pl-text-primary-600",
|
|
81268
|
+
className: "pl-ms-1.5 pl-text-primary-600",
|
|
81268
81269
|
children: `${translate().more}...`
|
|
81269
81270
|
}),
|
|
81270
81271
|
lines: 2,
|
|
@@ -82192,7 +82193,7 @@ var LiveAndVodPlayer = () => {
|
|
|
82192
82193
|
description: notActiveText.description,
|
|
82193
82194
|
type: params.type
|
|
82194
82195
|
})
|
|
82195
|
-
}) : /* @__PURE__ */ jsx("div", { className: `${!!params.height ? params.height : "pl-h-screen"} ${!!params.width ? params.width : "pl-h-screen"} pl-bg-black` }) });
|
|
82196
|
+
}) : /* @__PURE__ */ jsx("div", { className: `${!!params.height ? params.height : "pl-h-screen"} ${!!params.width ? params.width : "pl-h-screen"} pl-bg-white dark:pl-bg-black` }) });
|
|
82196
82197
|
};
|
|
82197
82198
|
//#endregion
|
|
82198
82199
|
//#region src/videoPlayerLibrary/shared/ui/src/components/modules/video-player-library/videoPlayer.tsx
|