zarebin-player-library 1.1.11 → 1.1.13
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.
|
@@ -68938,6 +68938,7 @@ var useVideoControls = (ad, params) => {
|
|
|
68938
68938
|
};
|
|
68939
68939
|
const handlePause = () => {
|
|
68940
68940
|
setIsCounting(false);
|
|
68941
|
+
setIsPaused(true);
|
|
68941
68942
|
if (firstPlay) handleChangeSoundVolume(100);
|
|
68942
68943
|
setFirstPlay(false);
|
|
68943
68944
|
};
|
|
@@ -68961,13 +68962,8 @@ var useVideoControls = (ad, params) => {
|
|
|
68961
68962
|
const playPromise = video.play();
|
|
68962
68963
|
dispatch(setPlay(true));
|
|
68963
68964
|
if (playPromise !== void 0) playPromise.then(() => {
|
|
68964
|
-
|
|
68965
|
-
|
|
68966
|
-
dispatch(setFirstMute(false));
|
|
68967
|
-
} else {
|
|
68968
|
-
handleChangeSoundVolume(0);
|
|
68969
|
-
dispatch(setFirstMute(true));
|
|
68970
|
-
}
|
|
68965
|
+
handleChangeSoundVolume(100);
|
|
68966
|
+
dispatch(setFirstMute(false));
|
|
68971
68967
|
}).catch(() => {
|
|
68972
68968
|
handleChangeSoundVolume(0);
|
|
68973
68969
|
dispatch(setFirstMute(true));
|
|
@@ -69150,7 +69146,7 @@ var Advertisement = () => {
|
|
|
69150
69146
|
src: adData?.url + `?uuid=${getUUID()}`,
|
|
69151
69147
|
autoPlay: true,
|
|
69152
69148
|
playsInline: true,
|
|
69153
|
-
className: "pl-size-full"
|
|
69149
|
+
className: "pl-absolute pl-top-0 pl-size-full"
|
|
69154
69150
|
}),
|
|
69155
69151
|
/* @__PURE__ */ jsxs("div", {
|
|
69156
69152
|
className: `pl-relative pl-flex pl-h-full pl-w-full pl-flex-col pl-justify-between ${conditions(ConditionName.isTouchScreen) ? "pl-pb-3 pl-pt-4 lg:pl-pb-4" : "pl-pb-5 pl-pt-[30px]"}`,
|