softbuilders-react-video-player 1.2.19 → 1.2.20

Sign up to get free protection for your applications and to get access to all the features.
@@ -68,7 +68,7 @@ const ControlBar = ({ player, isPaused, setIsPaused, duration, notes, chapters,
68
68
  }
69
69
  : { width: "98%" }, className: `flex gap-2 ${width < 400 && !isTrailer
70
70
  ? "absolute sb-top-1"
71
- : "-sb-translate-y-0 sb-w-full"} hover:sb-w-[45%] `, children: [_jsx(CurrentTimeLabel, {}), _jsx(TimeSliderContainer, { chapters: chapters, notes: notes }), _jsx("p", { children: durationFormater(duration) })] }) }), _jsx("div", { className: "sb-h-full", children: _jsx(VolumeSlider, { isTrailer: isTrailer, volumeSliderToggler: volumeSliderToggler, width: width, setIsSeeking: (val) => setIsSeeking(val), handleControlDisplayTimer: handleControlDisplayTimer }) }), _jsx(TooltipModal, { width: width, content: _jsx("p", { children: "Quality" }), children: _jsx(QualityMenu, { isTrailer: isTrailer, width: width, onClick: (e, isOpen) => {
71
+ : "-sb-translate-y-0 sb-w-full"} hover:sb-w-[45%] `, children: [_jsx(CurrentTimeLabel, {}), _jsx(TimeSliderContainer, { chapters: chapters, notes: notes }), _jsx("p", { children: durationFormater(duration) })] }) }), _jsx("div", { className: "sb-h-full", children: _jsx(VolumeSlider, { setNoteOpen: setNoteOpen, isTrailer: isTrailer, volumeSliderToggler: volumeSliderToggler, width: width, setIsSeeking: (val) => setIsSeeking(val), handleControlDisplayTimer: handleControlDisplayTimer }) }), _jsx(TooltipModal, { width: width, content: _jsx("p", { children: "Quality" }), children: _jsx(QualityMenu, { isTrailer: isTrailer, width: width, onClick: (e, isOpen) => {
72
72
  setVolumeToggler(!volumeSliderToggler);
73
73
  setIsQualityMenuOpen && setIsQualityMenuOpen(isOpen);
74
74
  } }) }), disableNote && (_jsx(TooltipModal, { width: width, content: _jsx("p", { children: "Create note" }), children: _jsx(CreateNoteMenu, { handleSaveNoteAction: handleSaveNoteAction, width: width, setNoteOpen: setNoteOpen, noteButtonClick: (e) => {
@@ -1 +1 @@
1
- {"version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AAM,uBAAN,MAAM,CAAE,cAAc,EAAE,CAAC;wBAC3B,CAAC;6BAAM,CAAC;4BACN,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,iBAAiB,EAAE,CAAC;wBAC9B,CAAC;oBACH,CAAC,YAED,KAAC,cAAc,IAAC,SAAS,EAAC,eAAe,GAAG,GACrC,GACI,IACX,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -197,6 +197,7 @@ const ControlBar = <T,>({
197
197
 
198
198
  <div className="sb-h-full">
199
199
  <VolumeSlider
200
+ setNoteOpen={setNoteOpen}
200
201
  isTrailer={isTrailer}
201
202
  volumeSliderToggler={volumeSliderToggler}
202
203
  width={width}
@@ -8,6 +8,7 @@ type Props = {
8
8
  max?: number;
9
9
  setClicked?: React.Dispatch<React.SetStateAction<boolean>>;
10
10
  onMouseMove?: (e: React.MouseEvent<HTMLDivElement>) => void;
11
+ setNoteOpen?: (val: boolean) => void;
11
12
  } & InputHTMLAttributes<HTMLInputElement>;
12
- declare const Slider: ({ value, handleValueChange, min, max, className, handleSliderClick, setClicked, onMouseMove, ...rest }: Props) => import("react/jsx-runtime").JSX.Element;
13
+ declare const Slider: ({ value, handleValueChange, min, max, className, handleSliderClick, setClicked, onMouseMove, setNoteOpen, ...rest }: Props) => import("react/jsx-runtime").JSX.Element;
13
14
  export default Slider;
@@ -12,15 +12,17 @@ var __rest = (this && this.__rest) || function (s, e) {
12
12
  import { jsx as _jsx } from "react/jsx-runtime";
13
13
  import "./style.css";
14
14
  const Slider = (_a) => {
15
- var { value, handleValueChange, min = 0, max = 100, className, handleSliderClick = () => { }, setClicked, onMouseMove } = _a, rest = __rest(_a, ["value", "handleValueChange", "min", "max", "className", "handleSliderClick", "setClicked", "onMouseMove"]);
15
+ var { value, handleValueChange, min = 0, max = 100, className, handleSliderClick = () => { }, setClicked, onMouseMove, setNoteOpen } = _a, rest = __rest(_a, ["value", "handleValueChange", "min", "max", "className", "handleSliderClick", "setClicked", "onMouseMove", "setNoteOpen"]);
16
16
  return (_jsx("input", Object.assign({ type: "range", min: min, onMouseMove: (e) => onMouseMove && onMouseMove(e), onMouseDown: (e) => {
17
17
  e.stopPropagation();
18
+ setNoteOpen && setNoteOpen(true);
18
19
  setClicked && setClicked(true);
19
20
  }, onClick: (e) => {
20
21
  e.stopPropagation();
21
22
  handleSliderClick(e);
22
23
  }, onMouseUp: (e) => {
23
24
  e.stopPropagation();
25
+ setNoteOpen && setNoteOpen(false);
24
26
  setClicked && setClicked(false);
25
27
  }, max: max, value: value, onChange: (e) => {
26
28
  e.preventDefault();
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Slider/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;AACA,OAAO,aAAa,CAAC;AAYrB,MAAM,MAAM,GAAG,CAAC,EAUR,EAAE,EAAE;QAVI,EACd,KAAK,EACL,iBAAiB,EACjB,GAAG,GAAG,CAAC,EACP,GAAG,GAAG,GAAG,EACT,SAAS,EACT,iBAAiB,GAAG,GAAG,EAAE,GAAE,CAAC,EAC5B,UAAU,EACV,WAAW,OAEL,EADH,IAAI,cATO,2GAUf,CADQ;IAEP,OAAO,CACL,8BACE,IAAI,EAAC,OAAO,EACZ,GAAG,EAAE,GAAG,EACR,WAAW,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,WAAW,IAAI,WAAW,CAAC,CAAC,CAAC,EACjD,WAAW,EAAE,CAAC,CAAC,EAAE,EAAE;YACjB,CAAC,CAAC,eAAe,EAAE,CAAC;YACpB,UAAU,IAAI,UAAU,CAAC,IAAI,CAAC,CAAC;QACjC,CAAC,EACD,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE;YACb,CAAC,CAAC,eAAe,EAAE,CAAC;YACpB,iBAAiB,CAAC,CAAC,CAAC,CAAC;QACvB,CAAC,EACD,SAAS,EAAE,CAAC,CAAC,EAAE,EAAE;YACf,CAAC,CAAC,eAAe,EAAE,CAAC;YACpB,UAAU,IAAI,UAAU,CAAC,KAAK,CAAC,CAAC;QAClC,CAAC,EACD,GAAG,EAAE,GAAG,EACR,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE;YACd,CAAC,CAAC,cAAc,EAAE,CAAC;YACnB,CAAC,CAAC,eAAe,EAAE,CAAC;YACpB,iBAAiB,CAAC,CAAC,CAAC,CAAC;QACvB,CAAC,EACD,SAAS,EAAE;UACP,SAAS,EAAE,EACf,KAAK,EAAE;YACL,UAAU,EAAE,qCAAqC,KAAK,gBAAgB,KAAK,IAAI;SAChF,IACG,IAAI,EACR,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Slider/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;AACA,OAAO,aAAa,CAAC;AAarB,MAAM,MAAM,GAAG,CAAC,EAWR,EAAE,EAAE;QAXI,EACd,KAAK,EACL,iBAAiB,EACjB,GAAG,GAAG,CAAC,EACP,GAAG,GAAG,GAAG,EACT,SAAS,EACT,iBAAiB,GAAG,GAAG,EAAE,GAAE,CAAC,EAC5B,UAAU,EACV,WAAW,EACX,WAAW,OAEL,EADH,IAAI,cAVO,0HAWf,CADQ;IAEP,OAAO,CACL,8BACE,IAAI,EAAC,OAAO,EACZ,GAAG,EAAE,GAAG,EACR,WAAW,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,WAAW,IAAI,WAAW,CAAC,CAAC,CAAC,EACjD,WAAW,EAAE,CAAC,CAAC,EAAE,EAAE;YACjB,CAAC,CAAC,eAAe,EAAE,CAAC;YACpB,WAAW,IAAI,WAAW,CAAC,IAAI,CAAC,CAAC;YACjC,UAAU,IAAI,UAAU,CAAC,IAAI,CAAC,CAAC;QACjC,CAAC,EACD,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE;YACb,CAAC,CAAC,eAAe,EAAE,CAAC;YACpB,iBAAiB,CAAC,CAAC,CAAC,CAAC;QACvB,CAAC,EACD,SAAS,EAAE,CAAC,CAAC,EAAE,EAAE;YACf,CAAC,CAAC,eAAe,EAAE,CAAC;YACpB,WAAW,IAAI,WAAW,CAAC,KAAK,CAAC,CAAC;YAClC,UAAU,IAAI,UAAU,CAAC,KAAK,CAAC,CAAC;QAClC,CAAC,EACD,GAAG,EAAE,GAAG,EACR,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE;YACd,CAAC,CAAC,cAAc,EAAE,CAAC;YACnB,CAAC,CAAC,eAAe,EAAE,CAAC;YACpB,iBAAiB,CAAC,CAAC,CAAC,CAAC;QACvB,CAAC,EACD,SAAS,EAAE;UACP,SAAS,EAAE,EACf,KAAK,EAAE;YACL,UAAU,EAAE,qCAAqC,KAAK,gBAAgB,KAAK,IAAI;SAChF,IACG,IAAI,EACR,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,MAAM,CAAC"}
@@ -9,6 +9,7 @@ type Props = {
9
9
  max?: number;
10
10
  setClicked?: React.Dispatch<React.SetStateAction<boolean>>;
11
11
  onMouseMove?: (e: React.MouseEvent<HTMLDivElement>) => void;
12
+ setNoteOpen?: (val: boolean) => void;
12
13
  } & InputHTMLAttributes<HTMLInputElement>;
13
14
 
14
15
  const Slider = ({
@@ -20,6 +21,7 @@ const Slider = ({
20
21
  handleSliderClick = () => {},
21
22
  setClicked,
22
23
  onMouseMove,
24
+ setNoteOpen,
23
25
  ...rest
24
26
  }: Props) => {
25
27
  return (
@@ -29,6 +31,7 @@ const Slider = ({
29
31
  onMouseMove={(e) => onMouseMove && onMouseMove(e)}
30
32
  onMouseDown={(e) => {
31
33
  e.stopPropagation();
34
+ setNoteOpen && setNoteOpen(true);
32
35
  setClicked && setClicked(true);
33
36
  }}
34
37
  onClick={(e) => {
@@ -37,6 +40,7 @@ const Slider = ({
37
40
  }}
38
41
  onMouseUp={(e) => {
39
42
  e.stopPropagation();
43
+ setNoteOpen && setNoteOpen(false);
40
44
  setClicked && setClicked(false);
41
45
  }}
42
46
  max={max}
@@ -281,11 +281,11 @@ const VideoPlayerComponent = forwardRef(({ id, options, notes, chapters, startTi
281
281
  setIsControlBarPresent(true);
282
282
  // setBgColor("rgba(200, 200, 200, 0.5)");
283
283
  // not using now
284
- // timeoutRef.current = setTimeout(() => {
285
- // setOpacity("0");
286
- // setBgColor("transparent");
287
- // setIsControlBarPresent(false);
288
- // }, 3000);
284
+ timeoutRef.current = setTimeout(() => {
285
+ setOpacity("0");
286
+ setBgColor("transparent");
287
+ setIsControlBarPresent(false);
288
+ }, 3000);
289
289
  if (isTimerOnly) {
290
290
  return;
291
291
  }
@@ -385,7 +385,6 @@ const VideoPlayerComponent = forwardRef(({ id, options, notes, chapters, startTi
385
385
  }
386
386
  if (playerRef.current) {
387
387
  playerRef.current.on("waiting", function () {
388
- console.log("The player is buffering...");
389
388
  debounce((arg) => setIsloading(arg), 300)(true);
390
389
  });
391
390
  playerRef.current.on("playing", function () {
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/VideoPlayerComponent/index.tsx"],"names":[],"mappings":";AAAA,OAAc,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACvE,OAAO,QAAQ,MAAM,kBAAkB,CAAC;AACxC,OAAO,OAAO,MAAM,UAAU,CAAC;AAE/B,OAAO,4BAA4B,CAAC;AACpC,OAAO,UAAU,MAAM,eAAe,CAAC;AACvC,OAAO,EAAE,OAAO,EAAO,MAAM,QAAQ,CAAC;AAOtC,OAAO,mBAAmB,CAAC;AAC3B,OAAO,2BAA2B,CAAC;AACnC,OAAO,EAAE,+BAA+B,EAAE,MAAM,YAAY,CAAC;AAC7D,OAAO,aAAa,MAAM,kBAAkB,CAAC;AAE7C,IAAI,iBAAiB,GAEjB,EAAE,CAAC;AACP,MAAM,mBAAmB,GAAG,CAC1B,EAAU,EACV,MAA0B,E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4BACE,eACE,GAAG,EAAE,SAAS,EACd,EAAE,EAAE,mBAAmB,EAAE,EAAE,EAC3B,WAAW,EAAE,GAAG,EAAE;gBAChB,CAAC,UAAU,CAAC,CAAC,CAAC,iBAAiB,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;YACpD,CAAC,EACD,SAAS,EAAC,gFAAgF,EAC1F,YAAY,EAAE,GAAG,EAAE,CAAC,YAAY,CAAC,IAAI,CAAC,EACtC,YAAY,EAAE,GAAG,EAAE,CAAC,YAAY,CAAC,KAAK,CAAC,aAEtC,YAAY,IAAI,CACf,cACE,GAAG,EAAE,QAAQ,EACb,OAAO,EAAE,iBAAiB,EAC1B,SAAS,EAAE,+IACT,OAAO,IAAI,KAAK,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,gBACtC,EAAE,EACF,KAAK,EAAE;wBACL,KAAK,EAAE,UAAU;qBAClB,GACI,CACR,EACD,cACE,SAAS,EAAC,6CAA6C,qCAIvD,cACE,OAAO,EAAE,iBAAiB,EAC1B,GAAG,EAAE,QAAQ,EACb,SAAS,EAAC,iCAAiC,GACtC,GACH,IACF,GACL,CACJ,CAAC;AACJ,CAAC,CACF,CAAC;AACF,eAAe,oBAAoB,CAAC"}
@@ -427,11 +427,11 @@ const VideoPlayerComponent = forwardRef<HTMLDivElement, Props<any>>(
427
427
  setIsControlBarPresent(true);
428
428
  // setBgColor("rgba(200, 200, 200, 0.5)");
429
429
  // not using now
430
- // timeoutRef.current = setTimeout(() => {
431
- // setOpacity("0");
432
- // setBgColor("transparent");
433
- // setIsControlBarPresent(false);
434
- // }, 3000);
430
+ timeoutRef.current = setTimeout(() => {
431
+ setOpacity("0");
432
+ setBgColor("transparent");
433
+ setIsControlBarPresent(false);
434
+ }, 3000);
435
435
  if (isTimerOnly) {
436
436
  return;
437
437
  }
@@ -544,8 +544,6 @@ const VideoPlayerComponent = forwardRef<HTMLDivElement, Props<any>>(
544
544
 
545
545
  if (playerRef.current) {
546
546
  playerRef.current.on("waiting", function () {
547
- console.log("The player is buffering...");
548
-
549
547
  debounce((arg) => setIsloading(arg), 300)(true);
550
548
  });
551
549
 
@@ -4,6 +4,7 @@ type Props = {
4
4
  handleControlDisplayTimer: (e: any) => void;
5
5
  volumeSliderToggler: boolean;
6
6
  isTrailer?: boolean;
7
+ setNoteOpen?: (val: boolean) => void;
7
8
  };
8
- declare const VolumeSlider: ({ width, setIsSeeking, handleControlDisplayTimer, volumeSliderToggler, isTrailer, }: Props) => import("react/jsx-runtime").JSX.Element;
9
+ declare const VolumeSlider: ({ width, setIsSeeking, handleControlDisplayTimer, volumeSliderToggler, isTrailer, setNoteOpen, }: Props) => import("react/jsx-runtime").JSX.Element;
9
10
  export default VolumeSlider;
@@ -4,7 +4,7 @@ import Slider from "../Slider";
4
4
  import { useSoftBuildersVideoPlayerContext } from "../VideoPlayerComponent/provider";
5
5
  import { VolumeHigh, VolumeLow, VolumeMute, VolumeVLow } from "../icons";
6
6
  const MIN = 0, MAX = 100;
7
- const VolumeSlider = ({ width = 0, setIsSeeking, handleControlDisplayTimer, volumeSliderToggler, isTrailer, }) => {
7
+ const VolumeSlider = ({ width = 0, setIsSeeking, handleControlDisplayTimer, volumeSliderToggler, isTrailer, setNoteOpen, }) => {
8
8
  const { player } = useSoftBuildersVideoPlayerContext();
9
9
  const [isVisible, setVisible] = useState(false);
10
10
  const [volume, setVolume] = useState(0);
@@ -95,6 +95,16 @@ const VolumeSlider = ({ width = 0, setIsSeeking, handleControlDisplayTimer, volu
95
95
  setVisible(false);
96
96
  }, 5000);
97
97
  };
98
+ useEffect(() => {
99
+ if (isClicked) {
100
+ clearTimeout(timeoutRef.current);
101
+ }
102
+ else {
103
+ timeoutRef.current = setTimeout(() => {
104
+ setVisible(false);
105
+ }, 5000);
106
+ }
107
+ }, [isClicked]);
98
108
  const handleValueChange = (e) => {
99
109
  e.preventDefault();
100
110
  e.stopPropagation();
@@ -118,7 +128,7 @@ const VolumeSlider = ({ width = 0, setIsSeeking, handleControlDisplayTimer, volu
118
128
  ? "sb-w-[22px] sb-opacity-100 sb-visible"
119
129
  : "sb-w-[22px] sb-opacity-0 sb-invisible"} ${width > 400 && !isTrailer
120
130
  ? "-sb-rotate-90 -sb-translate-y-1"
121
- : "sb-rotate-90 sb-translate-y-1"} sb-relative`, children: _jsx(Slider, { onMouseMove: (e) => onMouseMove(e), value: volume, handleValueChange: handleValueChange, min: MIN, max: MAX, className: "!sb-w-16 ", handleSliderClick: handleVolumeSliderClick, setClicked: setClicked }) }) })] }));
131
+ : "sb-rotate-90 sb-translate-y-1"} sb-relative`, children: _jsx(Slider, { onMouseMove: (e) => onMouseMove(e), setNoteOpen: setNoteOpen, value: volume, handleValueChange: handleValueChange, min: MIN, max: MAX, className: "!sb-w-16 ", handleSliderClick: handleVolumeSliderClick, setClicked: setClicked }) }) })] }));
122
132
  };
123
133
  export default VolumeSlider;
124
134
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/VolumeSlider/index.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,MAAM,MAAM,WAAW,CAAC;AAC/B,OAAO,EAAE,iCAAiC,EAAE,MAAM,kCAAkC,CAAC;AAErF,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAGzE,MAAM,GAAG,GAAG,CAAC,EACX,GAAG,GAAG,GAAG,CAAC;AAUZ,MAAM,YAAY,GAAG,CAAC,EACpB,KAAK,GAAG,CAAC,EACT,YAAY,EACZ,yBAAyB,EACzB,mBAAmB,EACnB,SAAS,GACH,EAAE,EAAE;IACV,MAAM,EAAE,MAAM,EAAE,GAAG,iCAAiC,EAAE,CAAC;IACvD,MAAM,CAAC,SAAS,EAAE,UAAU,CAAC,GAAG,QAAQ,C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AEhB,WAAW,EAAE,WAAW,EACxB,KAAK,EAAE,MAAM,EACb,iBAAiB,EAAE,iBAAiB,EACpC,GAAG,EAAE,GAAG,EACR,GAAG,EAAE,GAAG,EACR,SAAS,EAAC,WAAW,EACrB,iBAAiB,EAAE,uBAAuB,EAC1C,UAAU,EAAE,UAAU,GACtB,GACE,GACF,IACF,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -14,6 +14,7 @@ type Props = {
14
14
  handleControlDisplayTimer: (e: any) => void;
15
15
  volumeSliderToggler: boolean;
16
16
  isTrailer?: boolean;
17
+ setNoteOpen?: (val: boolean) => void;
17
18
  };
18
19
 
19
20
  const VolumeSlider = ({
@@ -22,6 +23,7 @@ const VolumeSlider = ({
22
23
  handleControlDisplayTimer,
23
24
  volumeSliderToggler,
24
25
  isTrailer,
26
+ setNoteOpen,
25
27
  }: Props) => {
26
28
  const { player } = useSoftBuildersVideoPlayerContext();
27
29
  const [isVisible, setVisible] = useState(false);
@@ -119,7 +121,15 @@ const VolumeSlider = ({
119
121
  setVisible(false);
120
122
  }, 5000);
121
123
  };
122
-
124
+ useEffect(() => {
125
+ if (isClicked) {
126
+ clearTimeout(timeoutRef.current);
127
+ } else {
128
+ timeoutRef.current = setTimeout(() => {
129
+ setVisible(false);
130
+ }, 5000);
131
+ }
132
+ }, [isClicked]);
123
133
  const handleValueChange = (e: React.ChangeEvent<HTMLInputElement>) => {
124
134
  e.preventDefault();
125
135
  e.stopPropagation();
@@ -198,6 +208,7 @@ const VolumeSlider = ({
198
208
  onMouseMove={(e: React.MouseEvent<HTMLDivElement>) =>
199
209
  onMouseMove(e)
200
210
  }
211
+ setNoteOpen={setNoteOpen}
201
212
  value={volume}
202
213
  handleValueChange={handleValueChange}
203
214
  min={MIN}
package/dist/index.mjs CHANGED
@@ -168,7 +168,8 @@ var Slider = (_a) => {
168
168
  handleSliderClick = () => {
169
169
  },
170
170
  setClicked,
171
- onMouseMove
171
+ onMouseMove,
172
+ setNoteOpen
172
173
  } = _b, rest = __objRest(_b, [
173
174
  "value",
174
175
  "handleValueChange",
@@ -177,7 +178,8 @@ var Slider = (_a) => {
177
178
  "className",
178
179
  "handleSliderClick",
179
180
  "setClicked",
180
- "onMouseMove"
181
+ "onMouseMove",
182
+ "setNoteOpen"
181
183
  ]);
182
184
  return /* @__PURE__ */ jsx3(
183
185
  "input",
@@ -187,6 +189,7 @@ var Slider = (_a) => {
187
189
  onMouseMove: (e) => onMouseMove && onMouseMove(e),
188
190
  onMouseDown: (e) => {
189
191
  e.stopPropagation();
192
+ setNoteOpen && setNoteOpen(true);
190
193
  setClicked && setClicked(true);
191
194
  },
192
195
  onClick: (e) => {
@@ -195,6 +198,7 @@ var Slider = (_a) => {
195
198
  },
196
199
  onMouseUp: (e) => {
197
200
  e.stopPropagation();
201
+ setNoteOpen && setNoteOpen(false);
198
202
  setClicked && setClicked(false);
199
203
  },
200
204
  max,
@@ -606,7 +610,8 @@ var VolumeSlider = ({
606
610
  setIsSeeking,
607
611
  handleControlDisplayTimer,
608
612
  volumeSliderToggler,
609
- isTrailer
613
+ isTrailer,
614
+ setNoteOpen
610
615
  }) => {
611
616
  const { player } = useSoftBuildersVideoPlayerContext();
612
617
  const [isVisible, setVisible] = useState2(false);
@@ -688,6 +693,15 @@ var VolumeSlider = ({
688
693
  setVisible(false);
689
694
  }, 5e3);
690
695
  };
696
+ useEffect2(() => {
697
+ if (isClicked) {
698
+ clearTimeout(timeoutRef.current);
699
+ } else {
700
+ timeoutRef.current = setTimeout(() => {
701
+ setVisible(false);
702
+ }, 5e3);
703
+ }
704
+ }, [isClicked]);
691
705
  const handleValueChange = (e) => {
692
706
  e.preventDefault();
693
707
  e.stopPropagation();
@@ -746,6 +760,7 @@ var VolumeSlider = ({
746
760
  Slider_default,
747
761
  {
748
762
  onMouseMove: (e) => onMouseMove(e),
763
+ setNoteOpen,
749
764
  value: volume,
750
765
  handleValueChange,
751
766
  min: MIN,
@@ -1619,6 +1634,7 @@ var ControlBar = ({
1619
1634
  /* @__PURE__ */ jsx39("div", { className: "sb-h-full", children: /* @__PURE__ */ jsx39(
1620
1635
  VolumeSlider_default,
1621
1636
  {
1637
+ setNoteOpen,
1622
1638
  isTrailer,
1623
1639
  volumeSliderToggler,
1624
1640
  width,
@@ -2026,6 +2042,11 @@ var VideoPlayerComponent = forwardRef(
2026
2042
  }
2027
2043
  setOpacity("100");
2028
2044
  setIsControlBarPresent(true);
2045
+ timeoutRef.current = setTimeout(() => {
2046
+ setOpacity("0");
2047
+ setBgColor("transparent");
2048
+ setIsControlBarPresent(false);
2049
+ }, 3e3);
2029
2050
  if (isTimerOnly) {
2030
2051
  return;
2031
2052
  }
@@ -2122,7 +2143,6 @@ var VideoPlayerComponent = forwardRef(
2122
2143
  }
2123
2144
  if (playerRef.current) {
2124
2145
  playerRef.current.on("waiting", function() {
2125
- console.log("The player is buffering...");
2126
2146
  debounce((arg) => setIsloading(arg), 300)(true);
2127
2147
  });
2128
2148
  playerRef.current.on("playing", function() {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "softbuilders-react-video-player",
3
3
  "description": "Standalone video player component",
4
- "version": "1.2.19",
4
+ "version": "1.2.20",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "files": [