zarebin-player-library 1.1.10 → 1.1.11

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.
@@ -10493,7 +10493,8 @@ var handleChangeSoundVolume = (volume) => {
10493
10493
  ...settings,
10494
10494
  volume
10495
10495
  }));
10496
- if (conditions(ConditionName.isIOS)) videoTag().muted = !videoTag().muted;
10496
+ if (conditions(ConditionName.isIOS)) if (conditions(ConditionName.hasAd)) videoTag().muted = false;
10497
+ else videoTag().muted = !videoTag().muted;
10497
10498
  else videoTag().volume = volume / 100;
10498
10499
  };
10499
10500
  var handleIsLive = () => {
@@ -68937,7 +68938,6 @@ var useVideoControls = (ad, params) => {
68937
68938
  };
68938
68939
  const handlePause = () => {
68939
68940
  setIsCounting(false);
68940
- setIsPaused(true);
68941
68941
  if (firstPlay) handleChangeSoundVolume(100);
68942
68942
  setFirstPlay(false);
68943
68943
  };
@@ -68965,8 +68965,8 @@ var useVideoControls = (ad, params) => {
68965
68965
  handleChangeSoundVolume(100);
68966
68966
  dispatch(setFirstMute(false));
68967
68967
  } else {
68968
- dispatch(setFirstMute(true));
68969
68968
  handleChangeSoundVolume(0);
68969
+ dispatch(setFirstMute(true));
68970
68970
  }
68971
68971
  }).catch(() => {
68972
68972
  handleChangeSoundVolume(0);
@@ -69142,15 +69142,15 @@ var Advertisement = () => {
69142
69142
  await handleFullScreen();
69143
69143
  await handleLockOrientation();
69144
69144
  },
69145
- className: `pl-flex pl-h-full pl-w-full pl-flex-col pl-justify-end pl-bg-dark-1 ${conditions(ConditionName.isFullScreen) && "!pl-fixed !pl-right-0 !pl-top-0 !pl-h-screen !pl-w-screen"}`,
69146
- style: { zIndex: 1e5 },
69145
+ className: `pl-flex pl-h-full pl-relative pl-w-full pl-flex-col pl-justify-end pl-bg-dark-1 ${conditions(ConditionName.isFullScreen) && "!pl-fixed !pl-right-0 !pl-top-0 !pl-h-screen !pl-w-screen"}`,
69146
+ style: { zIndex: 100001 },
69147
69147
  children: [
69148
69148
  /* @__PURE__ */ jsx("video", {
69149
69149
  id: "player-tag",
69150
69150
  src: adData?.url + `?uuid=${getUUID()}`,
69151
69151
  autoPlay: true,
69152
69152
  playsInline: true,
69153
- className: "pl-absolute pl-top-0 pl-size-full"
69153
+ className: "pl-size-full"
69154
69154
  }),
69155
69155
  /* @__PURE__ */ jsxs("div", {
69156
69156
  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]"}`,