softbuilders-react-video-player 1.2.24 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -49,41 +49,44 @@ const ControlBar = ({ player, isPaused, setIsPaused, duration, notes, chapters,
49
49
  useEffect(() => {
50
50
  setDuration(duration);
51
51
  }, [duration]);
52
- return (_jsxs("div", { className: ` !sb-px-4 sb-flex sb-pt-2 sb-justify-center sb-gap-3 sb-w-full sb-h-full ${width > 400 && !isTrailer
52
+ return (_jsxs("div", { className: ` !sb-px-4 sb-flex sb-pt-2 sb-justify-center sb-gap-3 sb-w-full sb-h-full ${(width > 400 || (player === null || player === void 0 ? void 0 : player.isFullscreen_) === true) && !isTrailer
53
53
  ? "sb-absolute sb-bottom-1 sb-items-end sb-mb-1 sb-pb-2 "
54
- : "sb-items-start"} sb-pb-2`, children: [_jsx(BufferTracker, {}), _jsx(CurrentTimeTracker, {}), !isTrailer && (_jsx("button", { onClick: () => {
54
+ : "sb-items-start"} sb-pb-2`, children: [_jsx(BufferTracker, {}), _jsx(CurrentTimeTracker, {}), !isTrailer && (_jsx("button", { onClick: (e) => {
55
+ e.preventDefault();
56
+ e.stopPropagation();
55
57
  seek(-seekStep);
56
- }, children: _jsx(TooltipModal, { width: width, content: _jsx("p", { children: "Backward 5 sec" }), isLeft: true, children: _jsx(BackwardIcon, { className: "sb-w-3 sb-h-3" }) }) })), _jsx("button", { onClick: togglePlay, children: _jsx(TooltipModal, { width: width, content: _jsx("p", { children: isPaused ? "Play" : "pause" }), isLeft: true, children: isPaused ? (_jsx(PlayIcon, { className: "sb-w-3 sb-h-3" })) : (_jsx(PauseIcon, { className: "sb-w-3 sb-h-3" })) }) }), !isTrailer && (_jsx("button", { onClick: (e) => {
58
+ }, children: _jsx(TooltipModal, { player: player, width: width, content: _jsx("p", { children: "Backward 5 sec" }), isLeft: true, children: _jsx(BackwardIcon, { className: "sb-w-3 sb-h-3" }) }) })), _jsx("button", { onClick: togglePlay, children: _jsx(TooltipModal, { player: player, width: width, content: _jsx("p", { children: isPaused ? "Play" : "pause" }), isLeft: true, children: isPaused ? (_jsx(PlayIcon, { className: "sb-w-3 sb-h-3" })) : (_jsx(PauseIcon, { className: "sb-w-3 sb-h-3" })) }) }), !isTrailer && (_jsx("button", { onClick: (e) => {
57
59
  e.preventDefault();
60
+ e.stopPropagation();
58
61
  seek(seekStep);
59
- }, children: _jsx(TooltipModal, { width: width, content: _jsx("p", { children: "Forward 5 sec" }), isLeft: true, children: _jsx(ForwardIcon, { className: "sb-w-3 sb-h-3" }) }) })),
62
+ }, children: _jsx(TooltipModal, { player: player, width: width, content: _jsx("p", { children: "Forward 5 sec" }), isLeft: true, children: _jsx(ForwardIcon, { className: "sb-w-3 sb-h-3" }) }) })),
60
63
  // isSeeking ||
61
64
  // width > 400 &&
62
- _jsx("div", { className: `${width < 400 && !isTrailer
65
+ _jsx("div", { className: `${width < 400 && !isTrailer && (player === null || player === void 0 ? void 0 : player.isFullscreen_) === false
63
66
  ? "sb-flex-1 sb-ml-0 sb-mr-0"
64
- : "sb-w-full"}`, children: _jsxs("div", { style: width < 400 && !isTrailer
67
+ : "sb-w-full"}`, children: _jsxs("div", { style: width < 400 && !isTrailer && (player === null || player === void 0 ? void 0 : player.isFullscreen_) === false
65
68
  ? {
66
69
  width: `${width * 0.9}px`,
67
70
  left: "5%",
68
71
  top: "90%",
69
72
  }
70
- : { width: "98%" }, className: `flex gap-2 ${width < 400 && !isTrailer
73
+ : { width: "98%" }, className: `flex gap-2 ${width < 400 && !isTrailer && (player === null || player === void 0 ? void 0 : player.isFullscreen_) === false
71
74
  ? "absolute sb-top-1"
72
- : "-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, { isModalChanged: isModalChanged, width: width, content: _jsx("p", { children: "Quality" }), children: _jsx(QualityMenu, { isTrailer: isTrailer, width: width, setIsModalChanged: (val) => setIsModalChanged(val), onClick: (e, isOpen) => {
75
+ : "-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, { player: player, isModalChanged: isModalChanged, width: width, content: _jsx("p", { children: "Quality" }), children: _jsx(QualityMenu, { isTrailer: isTrailer, width: width, setIsModalChanged: (val) => setIsModalChanged(val), onClick: (e, isOpen) => {
73
76
  setVolumeToggler(!volumeSliderToggler);
74
77
  setIsQualityMenuOpen && setIsQualityMenuOpen(isOpen);
75
78
  setIsModalChanged(true);
76
- } }) }), disableNote && (_jsx(TooltipModal, { width: width, content: _jsx("p", { children: "Create note" }), children: _jsx(CreateNoteMenu, { handleSaveNoteAction: handleSaveNoteAction, width: width, setNoteOpen: setNoteOpen, noteButtonClick: (e) => {
79
+ } }) }), disableNote && (_jsx(TooltipModal, { player: player, width: width, content: _jsx("p", { children: "Create note" }), children: _jsx(CreateNoteMenu, { handleSaveNoteAction: handleSaveNoteAction, width: width, setNoteOpen: setNoteOpen, noteButtonClick: (e) => {
77
80
  noteButtonClick &&
78
81
  noteButtonClick({
79
82
  time: Number((player === null || player === void 0 ? void 0 : player.currentTime()) || 0),
80
83
  isOpen: e,
81
84
  });
82
85
  player === null || player === void 0 ? void 0 : player.pause();
83
- } }) })), _jsx(TooltipModal, { width: width, content: _jsx("p", { children: "Subtitle" }), children: _jsx(SubtitleMenu, { isTrailer: isTrailer, width: width, onClick: (e, isOpen) => {
86
+ } }) })), _jsx(TooltipModal, { player: player, width: width, content: _jsx("p", { children: "Subtitle" }), children: _jsx(SubtitleMenu, { isTrailer: isTrailer, width: width, onClick: (e, isOpen) => {
84
87
  setVolumeToggler(!volumeSliderToggler);
85
88
  setIsSubtitleMenuOpen && setIsSubtitleMenuOpen(isOpen);
86
- } }) }), _jsx(TooltipModal, { width: width, content: _jsx("p", { children: "Full screen" }), children: _jsx("button", { onClick: (e) => {
89
+ } }) }), _jsx(TooltipModal, { player: player, width: width, content: _jsx("p", { children: "Full screen" }), children: _jsx("button", { onClick: (e) => {
87
90
  e.preventDefault();
88
91
  e.stopPropagation();
89
92
  if (player === null || player === void 0 ? void 0 : player.isFullscreen()) {
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/ControlBar/index.tsx"],"names":[],"mappings":";AAAA,OAAc,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEnD,OAAO,gBAAgB,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,YAAY,MAAM,iBAAiB,CAAC;AAC3C,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAAO,cAAc,MAAM,mBAAmB,CAAC;AAC/C,OAAO,mBAAmB,MAAM,wBAAwB,CAAC;AACzD,OAAO,aAAa,MAAM,kBAAkB,CAAC;AAC7C,OAAO,kBAAkB,MAAM,uBAAuB,CAAC;AAKvD,OAAO,EAAE,iCAAiC,EAAE,MAAM,kCAAkC,CAAC;AACrF,OAAO,YAAY,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,YAAY,EACZ,WAAW,EACX,cAAc,EACd,SAAS,EACT,QAAQ,GACT,MAAM,cAAc,CAAC;AACtB,OAAO,YAAY,MAAM,0BAA0B,CAAC;AAqBpD,MAAM,UAAU,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AAM,CAAC,CAAC;oBACzD,CAAC,GACD,GACW,EACf,KAAC,YAAY,IAAC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,sCAAkB,YACrE,iBACE,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE;wBACb,CAAC,CAAC,cAAc,EAAE,CAAC;wBACnB,CAAC,CAAC,eAAe,EAAE,CAAC;wBAEpB,IAAI,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,YAAY,EAAE,EAAE,CAAC;4BAC3B,MAAM,aAAN,MAAM,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"}
@@ -107,7 +107,7 @@ const ControlBar = <T,>({
107
107
  return (
108
108
  <div
109
109
  className={` !sb-px-4 sb-flex sb-pt-2 sb-justify-center sb-gap-3 sb-w-full sb-h-full ${
110
- width > 400 && !isTrailer
110
+ (width > 400 || player?.isFullscreen_ === true) && !isTrailer
111
111
  ? "sb-absolute sb-bottom-1 sb-items-end sb-mb-1 sb-pb-2 "
112
112
  : "sb-items-start"
113
113
  } sb-pb-2`}
@@ -119,11 +119,14 @@ const ControlBar = <T,>({
119
119
 
120
120
  {!isTrailer && (
121
121
  <button
122
- onClick={() => {
122
+ onClick={(e: React.MouseEvent<HTMLButtonElement>) => {
123
+ e.preventDefault();
124
+ e.stopPropagation();
123
125
  seek(-seekStep);
124
126
  }}
125
127
  >
126
128
  <TooltipModal
129
+ player={player}
127
130
  width={width}
128
131
  content={<p>Backward 5 sec</p>}
129
132
  isLeft={true}
@@ -134,6 +137,7 @@ const ControlBar = <T,>({
134
137
  )}
135
138
  <button onClick={togglePlay}>
136
139
  <TooltipModal
140
+ player={player}
137
141
  width={width}
138
142
  content={<p>{isPaused ? "Play" : "pause"}</p>}
139
143
  isLeft={true}
@@ -147,12 +151,14 @@ const ControlBar = <T,>({
147
151
  </button>
148
152
  {!isTrailer && (
149
153
  <button
150
- onClick={(e) => {
154
+ onClick={(e: React.MouseEvent<HTMLButtonElement>) => {
151
155
  e.preventDefault();
156
+ e.stopPropagation();
152
157
  seek(seekStep);
153
158
  }}
154
159
  >
155
160
  <TooltipModal
161
+ player={player}
156
162
  width={width}
157
163
  content={<p>Forward 5 sec</p>}
158
164
  isLeft={true}
@@ -167,14 +173,14 @@ const ControlBar = <T,>({
167
173
  // width > 400 &&
168
174
  <div
169
175
  className={`${
170
- width < 400 && !isTrailer
176
+ width < 400 && !isTrailer && player?.isFullscreen_ === false
171
177
  ? "sb-flex-1 sb-ml-0 sb-mr-0"
172
178
  : "sb-w-full"
173
179
  }`}
174
180
  >
175
181
  <div
176
182
  style={
177
- width < 400 && !isTrailer
183
+ width < 400 && !isTrailer && player?.isFullscreen_ === false
178
184
  ? {
179
185
  width: `${width * 0.9}px`,
180
186
  left: "5%",
@@ -183,7 +189,7 @@ const ControlBar = <T,>({
183
189
  : { width: "98%" }
184
190
  }
185
191
  className={`flex gap-2 ${
186
- width < 400 && !isTrailer
192
+ width < 400 && !isTrailer && player?.isFullscreen_ === false
187
193
  ? "absolute sb-top-1"
188
194
  : "-sb-translate-y-0 sb-w-full"
189
195
  } hover:sb-w-[45%] `}
@@ -208,6 +214,7 @@ const ControlBar = <T,>({
208
214
  />
209
215
  </div>
210
216
  <TooltipModal
217
+ player={player}
211
218
  isModalChanged={isModalChanged}
212
219
  width={width}
213
220
  content={<p>Quality</p>}
@@ -226,7 +233,11 @@ const ControlBar = <T,>({
226
233
 
227
234
  {/* handleSaveNoteAction */}
228
235
  {disableNote && (
229
- <TooltipModal width={width} content={<p>Create note</p>}>
236
+ <TooltipModal
237
+ player={player}
238
+ width={width}
239
+ content={<p>Create note</p>}
240
+ >
230
241
  <CreateNoteMenu
231
242
  handleSaveNoteAction={handleSaveNoteAction}
232
243
  width={width}
@@ -242,7 +253,7 @@ const ControlBar = <T,>({
242
253
  />
243
254
  </TooltipModal>
244
255
  )}
245
- <TooltipModal width={width} content={<p>Subtitle</p>}>
256
+ <TooltipModal player={player} width={width} content={<p>Subtitle</p>}>
246
257
  <SubtitleMenu
247
258
  isTrailer={isTrailer}
248
259
  width={width}
@@ -252,7 +263,7 @@ const ControlBar = <T,>({
252
263
  }}
253
264
  />
254
265
  </TooltipModal>
255
- <TooltipModal width={width} content={<p>Full screen</p>}>
266
+ <TooltipModal player={player} width={width} content={<p>Full screen</p>}>
256
267
  <button
257
268
  onClick={(e) => {
258
269
  e.preventDefault();
@@ -4,10 +4,15 @@ import MenuButton from "../MenuButton";
4
4
  import { useSoftBuildersVideoPlayerContext } from "../VideoPlayerComponent/provider";
5
5
  import { CheckedIcon, LeftArrowIcon, SettingsIcon } from "../../images";
6
6
  const QualityOption = ({ isSelected, quality, onClick, width, isTrailer, }) => {
7
- return (_jsx("button", { className: `hover:sb-text-orange-500 ${width > 400 && !isTrailer ? "sb-p-2" : "sp-pb-1"}`, onClick: (e) => {
7
+ const { player } = useSoftBuildersVideoPlayerContext();
8
+ return (_jsx("button", { className: `hover:sb-text-orange-500 ${(width > 400 || (player === null || player === void 0 ? void 0 : player.isFullscreen_) === true) && !isTrailer
9
+ ? "sb-p-2"
10
+ : "sp-pb-1"}`, onClick: (e) => {
8
11
  e.stopPropagation();
9
12
  onClick(e);
10
- }, children: _jsxs("div", { className: "sb-grid sb-grid-cols-12 sb-items-center sb-gap-2", children: [_jsx("div", { className: "sb-col-span-3", children: isSelected ? (_jsx(CheckedIcon, { className: `${width > 400 && !isTrailer ? "sb-w-5 sb-h-5" : "sb-w-3 sb-h-3"}` })) : (_jsx("div", {})) }), _jsx("p", { className: "sb-text-left sb-col-span-9", children: quality === null || quality === void 0 ? void 0 : quality.label })] }) }));
13
+ }, children: _jsxs("div", { className: "sb-grid sb-grid-cols-12 sb-items-center sb-gap-2", children: [_jsx("div", { className: "sb-col-span-3", children: isSelected ? (_jsx(CheckedIcon, { className: `${(width > 400 || (player === null || player === void 0 ? void 0 : player.isFullscreen_) === true) && !isTrailer
14
+ ? "sb-w-5 sb-h-5"
15
+ : "sb-w-3 sb-h-3"}` })) : (_jsx("div", {})) }), _jsx("p", { className: "sb-text-left sb-col-span-9", children: quality === null || quality === void 0 ? void 0 : quality.label })] }) }));
11
16
  };
12
17
  const QualityMenu = ({ width, onClick, isTrailer, setIsModalChanged, }) => {
13
18
  const { player } = useSoftBuildersVideoPlayerContext();
@@ -30,9 +35,11 @@ const QualityMenu = ({ width, onClick, isTrailer, setIsModalChanged, }) => {
30
35
  }
31
36
  }
32
37
  }, [player]);
33
- return (_jsx(MenuButton, { classContainer: `${width < 400 || isTrailer ? "!sb-top-8 -sb-left-9" : ""}`, onClick: (e, isOpen) => {
38
+ return (_jsx(MenuButton, { classContainer: `${(width < 400 && (player === null || player === void 0 ? void 0 : player.isFullscreen_) === false) || isTrailer
39
+ ? "!sb-top-8 -sb-left-9"
40
+ : ""}`, onClick: (e, isOpen) => {
34
41
  onClick && onClick(e, isOpen);
35
- }, buttonContent: _jsx(SettingsIcon, { className: "sb-w-3 sb-h-3" }), menuContent: _jsx("div", { className: `sb-rounded-md sb-bg-[#303030] sb-bg-opacity-50 ${width > 400 && !isTrailer
42
+ }, buttonContent: _jsx(SettingsIcon, { className: "sb-w-3 sb-h-3" }), menuContent: _jsx("div", { className: `sb-rounded-md sb-bg-[#303030] sb-bg-opacity-50 ${(width > 400 || (player === null || player === void 0 ? void 0 : player.isFullscreen_) === true) && !isTrailer
36
43
  ? "sb-w-[150px] sb-py-5"
37
44
  : "sb-w-[90px] sb-items-center sb-justify-center sb-py-1"}`, children: _jsxs("div", { className: "sb-flex sb-flex-col sb-gap-3", children: [_jsxs("div", { className: `sb-px-5 sb-flex sb-flex-row sb-gap-3 sb-items-start sb-relative sb-top-2`, children: [_jsx("button", { onClick: () => {
38
45
  if (closeMenuFunction) {
@@ -42,11 +49,11 @@ const QualityMenu = ({ width, onClick, isTrailer, setIsModalChanged, }) => {
42
49
  return (_jsx(QualityOption, { width: width, isTrailer: isTrailer, isSelected: currentQualitySrc === (q === null || q === void 0 ? void 0 : q.label), quality: q, onClick: (e) => {
43
50
  const source = qualities.find((_q) => (q === null || q === void 0 ? void 0 : q.label) == (_q === null || _q === void 0 ? void 0 : _q.label));
44
51
  if (source && source.src != currentQualitySrc) {
45
- // player?.src(source.src);
52
+ player === null || player === void 0 ? void 0 : player.src(source.src);
46
53
  const currentTime = player === null || player === void 0 ? void 0 : player.currentTime();
47
54
  setCurrentQualitySrc(source === null || source === void 0 ? void 0 : source.label);
48
- // player?.currentTime(currentTime);
49
- // player?.play();
55
+ player === null || player === void 0 ? void 0 : player.currentTime(currentTime);
56
+ player === null || player === void 0 ? void 0 : player.play();
50
57
  }
51
58
  closeMenuFunction && closeMenuFunction();
52
59
  setIsModalChanged(false);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/QualityMenu/index.tsx"],"names":[],"mappings":";AAAA,OAAc,EAAe,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAChE,OAAO,UAAU,MAAM,eAAe,CAAC;AACvC,OAAO,EAAE,iCAAiC,EAAE,MAAM,kCAAkC,CAAC;AAGrF,OAAO,EAAE,WAAW,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AASxE,MAAM,aAAa,GAAG,CAAC,EACrB,UAAU,EACV,OAAO,EACP,OAAO,EACP,KAAK,EACL,SAAS,GACU,EAAE,EAAE;IACvB,OAAO,CACL,iBACE,SAAS,EAAE,4BACT,KAAK,GAAG,GAAG,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SACzC,EAAE,EACF,OAAO,EAAE,CAAC,CAAsC,EAA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,GACD,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -19,10 +19,13 @@ const QualityOption = ({
19
19
  width,
20
20
  isTrailer,
21
21
  }: QualityOptionProps) => {
22
+ const { player } = useSoftBuildersVideoPlayerContext();
22
23
  return (
23
24
  <button
24
25
  className={`hover:sb-text-orange-500 ${
25
- width > 400 && !isTrailer ? "sb-p-2" : "sp-pb-1"
26
+ (width > 400 || player?.isFullscreen_ === true) && !isTrailer
27
+ ? "sb-p-2"
28
+ : "sp-pb-1"
26
29
  }`}
27
30
  onClick={(e: React.MouseEvent<HTMLButtonElement>) => {
28
31
  e.stopPropagation();
@@ -34,7 +37,9 @@ const QualityOption = ({
34
37
  {isSelected ? (
35
38
  <CheckedIcon
36
39
  className={`${
37
- width > 400 && !isTrailer ? "sb-w-5 sb-h-5" : "sb-w-3 sb-h-3"
40
+ (width > 400 || player?.isFullscreen_ === true) && !isTrailer
41
+ ? "sb-w-5 sb-h-5"
42
+ : "sb-w-3 sb-h-3"
38
43
  }`}
39
44
  />
40
45
  ) : (
@@ -103,7 +108,9 @@ const QualityMenu = ({
103
108
  return (
104
109
  <MenuButton
105
110
  classContainer={`${
106
- width < 400 || isTrailer ? "!sb-top-8 -sb-left-9" : ""
111
+ (width < 400 && player?.isFullscreen_ === false) || isTrailer
112
+ ? "!sb-top-8 -sb-left-9"
113
+ : ""
107
114
  }`}
108
115
  onClick={(e, isOpen) => {
109
116
  onClick && onClick(e, isOpen);
@@ -112,7 +119,7 @@ const QualityMenu = ({
112
119
  menuContent={
113
120
  <div
114
121
  className={`sb-rounded-md sb-bg-[#303030] sb-bg-opacity-50 ${
115
- width > 400 && !isTrailer
122
+ (width > 400 || player?.isFullscreen_ === true) && !isTrailer
116
123
  ? "sb-w-[150px] sb-py-5"
117
124
  : "sb-w-[90px] sb-items-center sb-justify-center sb-py-1"
118
125
  }`}
@@ -150,11 +157,11 @@ const QualityMenu = ({
150
157
  (_q) => q?.label == _q?.label
151
158
  );
152
159
  if (source && source.src != currentQualitySrc) {
153
- // player?.src(source.src);
160
+ player?.src(source.src);
154
161
  const currentTime = player?.currentTime();
155
162
  setCurrentQualitySrc(source?.label);
156
- // player?.currentTime(currentTime);
157
- // player?.play();
163
+ player?.currentTime(currentTime);
164
+ player?.play();
158
165
  }
159
166
  closeMenuFunction && closeMenuFunction();
160
167
  setIsModalChanged(false);
@@ -34,7 +34,9 @@ const SubtitleMenu = ({ width, onClick, onMouseEnter, onMouseLeave, isTrailer, }
34
34
  }, [player]);
35
35
  return (_jsx(MenuButton, { onMouseEnter: onMouseEnter, onMouseLeave: onMouseLeave, onClick: (e, isOpen) => {
36
36
  onClick && onClick(e, isOpen);
37
- }, classContainer: `${width < 400 || isTrailer ? "!sb-top-8 -sb-left-9" : ""}`, buttonContent: _jsx(SubIcon, { className: "sb-w-4 sb-h-4 sb-text-white " }), menuContent: _jsx("div", { className: `sb-rounded-md sb-bg-[#303030] sb-bg-opacity-50 ${width > 400 && !isTrailer
37
+ }, classContainer: `${(width < 400 && (player === null || player === void 0 ? void 0 : player.isFullscreen_) === false) || isTrailer
38
+ ? "!sb-top-8 -sb-left-9"
39
+ : ""}`, buttonContent: _jsx(SubIcon, { className: "sb-w-4 sb-h-4 sb-text-white " }), menuContent: _jsx("div", { className: `sb-rounded-md sb-bg-[#303030] sb-bg-opacity-50 ${(width > 400 || (player === null || player === void 0 ? void 0 : player.isFullscreen_) === true) && !isTrailer
38
40
  ? "sb-w-[150px] sb-py-5"
39
41
  : "sb-w-[90px] sb-items-center sb-justify-center sb-py-1"}`, children: _jsxs("div", { className: "sb-flex sb-flex-col sb-gap-3", children: [_jsxs("div", { className: "sb-px-5 sb-flex sb-flex-row sb-gap-3 sb-items-center sb-justify-center", children: [_jsx("button", { onClick: () => {
40
42
  if (closeMenuFunction) {
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/SubtitleMenu/index.tsx"],"names":[],"mappings":";AAAA,OAA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E,CAAC,CAAC,IAAI,KAAK,SAAS,EAChC,QAAQ,EAAE,CAAC,EACX,OAAO,EAAE,GAAG,EAAE;oCACZ,oBAAoB,CAAC,CAAC,CAAC,CAAC;gCAC1B,CAAC,IALI,YAAY,CAAC,CAAC,KAAK,IAAI,CAAC,EAAE,CAM/B,CACH,CAAC;wBACJ,CAAC,CAAC,GACE,IACF,GACF,EAER,KAAK,EAAE,CAAC,EAAY,EAAE,EAAE;YACtB,oBAAoB,CAAC,GAAG,EAAE,CAAC,EAAE,CAAC,CAAC;QACjC,CAAC,GACD,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -84,13 +84,15 @@ const SubtitleMenu = ({
84
84
  onClick && onClick(e, isOpen);
85
85
  }}
86
86
  classContainer={`${
87
- width < 400 || isTrailer ? "!sb-top-8 -sb-left-9" : ""
87
+ (width < 400 && player?.isFullscreen_ === false) || isTrailer
88
+ ? "!sb-top-8 -sb-left-9"
89
+ : ""
88
90
  }`}
89
91
  buttonContent={<SubIcon className="sb-w-4 sb-h-4 sb-text-white " />}
90
92
  menuContent={
91
93
  <div
92
94
  className={`sb-rounded-md sb-bg-[#303030] sb-bg-opacity-50 ${
93
- width > 400 && !isTrailer
95
+ (width > 400 || player?.isFullscreen_ === true) && !isTrailer
94
96
  ? "sb-w-[150px] sb-py-5"
95
97
  : "sb-w-[90px] sb-items-center sb-justify-center sb-py-1"
96
98
  }`}
@@ -1,2 +1,2 @@
1
- declare const TooltipModal: ({ content, children, isLeft, width, isModalChanged, }: any) => import("react/jsx-runtime").JSX.Element;
1
+ declare const TooltipModal: ({ content, children, isLeft, width, isModalChanged, player, }: any) => import("react/jsx-runtime").JSX.Element;
2
2
  export default TooltipModal;
@@ -1,13 +1,15 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { useEffect, useState } from "react";
3
- const TooltipModal = ({ content, children, isLeft = false, width = 0, isModalChanged, }) => {
3
+ const TooltipModal = ({ content, children, isLeft = false, width = 0, isModalChanged, player, }) => {
4
4
  const [isOpen, setIsOpen] = useState(false);
5
5
  const showTooltip = () => setIsOpen(true);
6
6
  const hideTooltip = () => setIsOpen(false);
7
7
  useEffect(() => {
8
8
  hideTooltip();
9
9
  }, [isModalChanged]);
10
- return (_jsxs("div", { className: "tooltip-container", style: { position: "relative", display: "inline-block" }, children: [_jsx("div", { onMouseEnter: showTooltip, onMouseLeave: hideTooltip, style: { cursor: "pointer" }, children: children }), isOpen && (_jsx("div", { className: `sb-tooltip-modal sb-text-orange-900 sb-my-2 ${width > 400 ? "!sb-bottom-[105%]" : "!sb-top-[105%]"}`, style: {
10
+ return (_jsxs("div", { className: "tooltip-container", style: { position: "relative", display: "inline-block" }, children: [_jsx("div", { onMouseEnter: showTooltip, onMouseLeave: hideTooltip, style: { cursor: "pointer" }, children: children }), isOpen && (_jsx("div", { className: `sb-tooltip-modal sb-text-orange-900 sb-my-2 ${width > 400 || (player === null || player === void 0 ? void 0 : player.isFullscreen_) === true
11
+ ? "!sb-bottom-[105%]"
12
+ : "!sb-top-[105%]"}`, style: {
11
13
  position: "absolute",
12
14
  left: !isLeft ? "-100%" : "100%",
13
15
  transform: !isLeft ? "translateX(-50%)" : "translateX(0%)",
@@ -1 +1 @@
1
- {"version":3,"file":"GlobalTooltip.js","sourceRoot":"","sources":["../../../src/components/Tooltip/GlobalTooltip.tsx"],"names":[],"mappings":";AAAA,OAAc,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEnD,MAAM,YAAY,GAAG,CAAC,EACpB,OAAO,EACP,QAAQ,EACR,MAAM,GAAG,KAAK,EACd,KAAK,GAAG,CAAC,EACT,cAAc,GACV,EAAE,EAAE;IACR,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC5C,MAAM,WAAW,GAAG,GAAG,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;IAC1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Ae,YAAY,CAAC"}
@@ -6,6 +6,7 @@ const TooltipModal = ({
6
6
  isLeft = false,
7
7
  width = 0,
8
8
  isModalChanged,
9
+ player,
9
10
  }: any) => {
10
11
  const [isOpen, setIsOpen] = useState(false);
11
12
  const showTooltip = () => setIsOpen(true);
@@ -32,7 +33,9 @@ const TooltipModal = ({
32
33
  {isOpen && (
33
34
  <div
34
35
  className={`sb-tooltip-modal sb-text-orange-900 sb-my-2 ${
35
- width > 400 ? "!sb-bottom-[105%]" : "!sb-top-[105%]"
36
+ width > 400 || player?.isFullscreen_ === true
37
+ ? "!sb-bottom-[105%]"
38
+ : "!sb-top-[105%]"
36
39
  }`}
37
40
  style={{
38
41
  position: "absolute",
@@ -46,6 +46,7 @@ const renderControlBar = (id, player, isPaused, setIsPaused, duration, notes, ch
46
46
  }
47
47
  };
48
48
  const VideoPlayerComponent = forwardRef(({ id, options, notes, chapters, startTime = 0, handleSaveNoteAction, poster, onPlay, onPause, disableNote, childRef, bottomRedBar = true, noteButtonClick, videoID, isTrailer, height, }, ref) => {
49
+ var _a;
49
50
  const videoRef = useRef(undefined);
50
51
  const playerRef = useRef(undefined);
51
52
  const idRef = useRef(undefined);
@@ -205,6 +206,7 @@ const VideoPlayerComponent = forwardRef(({ id, options, notes, chapters, startTi
205
206
  opacity,
206
207
  isReady,
207
208
  id,
209
+ (_a = playerRef === null || playerRef === void 0 ? void 0 : playerRef.current) === null || _a === void 0 ? void 0 : _a.isFullscreen_,
208
210
  ]);
209
211
  useEffect(() => {
210
212
  if (isReady) {
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/VideoPlayerComponent/index.tsx"],"names":[],"mappings":";AAAA,OAAc,EACZ,UAAU,EACV,QAAQ,EACR,SAAS,EACT,MAAM,EACN,QAAQ,GACT,MAAM,OAAO,CAAC;AACf,OAAO,QAAQ,MAAM,kBAAkB,CAAC;AACxC,OAAO,OAAO,MAAM,UAAU,CAAC;AAE/B,OAAO,4BA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C,cAAc,CAAC,CAAC,CAAC,gBACtC,EAAE,EACF,KAAK,EAAE;4BACL,KAAK,EAAE,UAAU;yBAClB,GACI,CACR,EACD,cACE,SAAS,EAAC,6CAA6C,qCAIvD,cACE,OAAO,EAAE,iBAAiB,EAC1B,GAAG,EAAE,QAAQ,EACb,SAAS,EAAC,iCAAiC,GACtC,GACH,IACF,GACG,GACV,CACJ,CAAC;AACJ,CAAC,CACF,CAAC;AACF,eAAe,oBAAoB,CAAC"}
@@ -349,6 +349,7 @@ const VideoPlayerComponent = forwardRef<HTMLDivElement, Props<any>>(
349
349
  opacity,
350
350
  isReady,
351
351
  id,
352
+ playerRef?.current?.isFullscreen_,
352
353
  ]);
353
354
  useEffect(() => {
354
355
  if (isReady) {
@@ -122,11 +122,21 @@ const VolumeSlider = ({ width = 0, setIsSeeking, handleControlDisplayTimer, volu
122
122
  setVolume(0);
123
123
  player === null || player === void 0 ? void 0 : player.muted(true);
124
124
  };
125
- return (_jsxs("div", { className: `sb-flex ${isVisible ? "" : ""} ${width > 400 && !isTrailer
125
+ return (_jsxs("div", { className: `sb-flex ${isVisible ? "" : ""} ${(width > 400 || (player === null || player === void 0 ? void 0 : player.isFullscreen_) === true) && !isTrailer
126
126
  ? "sb-flex-col-reverse"
127
- : `sb-flex-col ${isTrailer ? "sb-justify-start" : ""}`} sb-items-center sb-gap-1 sb-h-full`, children: [_jsx("div", { className: `sb-flex sb-relative ${width < 400 || isTrailer ? "-sb-top-1" : "sb-top-1"}`, onClick: toggleVisibility, onDoubleClick: handleDoubleClick, children: volume == 0 || (player === null || player === void 0 ? void 0 : player.muted()) ? (_jsx(VolumeMute, { className: `sb-w-3 sb-h-3 ${width < 400 || isTrailer ? "" : ""} sb-h-5 sb-w-5` })) : volume < 25 ? (_jsx(VolumeVLow, { className: `sb-w-3 sb-h-3 ${width < 400 || isTrailer ? "" : ""} sb-h-5 sb-w-5` })) : volume < 50 ? (_jsx(VolumeLow, { className: `sb-w-3 sb-h-3 ${width < 400 || isTrailer ? "" : ""} sb-h-5 sb-w-5` })) : (_jsx(VolumeHigh, { className: `sb-w-3 sb-h-3 ${width < 400 || isTrailer ? "" : ""} sb-h-5 sb-w-5` })) }), _jsx("div", { className: "sb-flex sb-items-center sb-justify-center", children: _jsx("div", { className: ` sb-transition-all sb-ease-in-out sb-duration-500 ${isVisible
127
+ : `sb-flex-col ${isTrailer ? "sb-justify-start" : ""}`} sb-items-center sb-gap-1 sb-h-full`, children: [_jsx("div", { className: `sb-flex sb-relative ${(width < 400 && (player === null || player === void 0 ? void 0 : player.isFullscreen_) === false) || isTrailer
128
+ ? "-sb-top-1"
129
+ : "sb-top-1"}`, onClick: toggleVisibility, onDoubleClick: handleDoubleClick, children: volume == 0 || (player === null || player === void 0 ? void 0 : player.muted()) ? (_jsx(VolumeMute, { className: `sb-w-3 sb-h-3 ${(width < 400 && (player === null || player === void 0 ? void 0 : player.isFullscreen_) === false) || isTrailer
130
+ ? ""
131
+ : ""} sb-h-5 sb-w-5` })) : volume < 25 ? (_jsx(VolumeVLow, { className: `sb-w-3 sb-h-3 ${(width < 400 && (player === null || player === void 0 ? void 0 : player.isFullscreen_) === false) || isTrailer
132
+ ? ""
133
+ : ""} sb-h-5 sb-w-5` })) : volume < 50 ? (_jsx(VolumeLow, { className: `sb-w-3 sb-h-3 ${(width < 400 && (player === null || player === void 0 ? void 0 : player.isFullscreen_) === false) || isTrailer
134
+ ? ""
135
+ : ""} sb-h-5 sb-w-5` })) : (_jsx(VolumeHigh, { className: `sb-w-3 sb-h-3 ${(width < 400 && (player === null || player === void 0 ? void 0 : player.isFullscreen_) === false) || isTrailer
136
+ ? ""
137
+ : ""} sb-h-5 sb-w-5` })) }), _jsx("div", { className: "sb-flex sb-items-center sb-justify-center", children: _jsx("div", { className: ` sb-transition-all sb-ease-in-out sb-duration-500 ${isVisible
128
138
  ? "sb-w-[22px] sb-opacity-100 sb-visible"
129
- : "sb-w-[22px] sb-opacity-0 sb-invisible"} ${width > 400 && !isTrailer
139
+ : "sb-w-[22px] sb-opacity-0 sb-invisible"} ${(width > 400 || (player === null || player === void 0 ? void 0 : player.isFullscreen_) === true) && !isTrailer
130
140
  ? "-sb-rotate-90 -sb-translate-y-1"
131
141
  : "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 }) }) })] }));
132
142
  };
@@ -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;AAWZ,MAAM,YAAY,GAAG,CAAC,EACpB,KAAK,GAAG,CAAC,EACT,YAAY,EACZ,yBAAyB,EACzB,mBAAmB,EACnB,SAAS,EACT,WAAW,GACL,EAAE,EAAE;IACV,MAAM,EAAE,MAAM,EAAE,GAAG,iCAAiC,EAAE,CAAC;IACvD,MAAM,CAAC,SAAS,EAAE,UAAU,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAChD,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC;IACxC,MAAM,CAAC,SAAS,EAAE,UAAU,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAEhD,yDAAyD;IACzD,SAAS,CAAC,GAAG,EAAE;QACb,MAAM,iBAAiB,G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EACN,gBAAgB,GACL,CACd,CAAC,CAAC,CAAC,CACF,KAAC,UAAU,IACT,SAAS,EAAE,iBACT,CAAC,KAAK,GAAG,GAAG,IAAI,CAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,aAAa,MAAK,KAAK,CAAC,IAAI,SAAS;wBAC3D,CAAC,CAAC,EAAE;wBACJ,CAAC,CAAC,EACN,gBAAgB,GACJ,CACf,GACG,EAGN,cAAK,SAAS,EAAC,4CAA4C,YAEzD,cACE,SAAS,EAAE,sDACT,SAAS;wBACP,CAAC,CAAC,uCAAuC;wBACzC,CAAC,CAAC,uCACN,IACE,CAAC,KAAK,GAAG,GAAG,IAAI,CAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,aAAa,MAAK,IAAI,CAAC,IAAI,CAAC,SAAS;wBAC3D,CAAC,CAAC,iCAAiC;wBACnC,CAAC,CAAC,+BACN,cAAc,YAEd,KAAC,MAAM,IACL,WAAW,EAAE,CAAC,CAAmC,EAAE,EAAE,CACnD,WAAW,CAAC,CAAC,CAAC,EAEhB,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"}
@@ -150,7 +150,7 @@ const VolumeSlider = ({
150
150
  return (
151
151
  <div
152
152
  className={`sb-flex ${isVisible ? "" : ""} ${
153
- width > 400 && !isTrailer
153
+ (width > 400 || player?.isFullscreen_ === true) && !isTrailer
154
154
  ? "sb-flex-col-reverse"
155
155
  : `sb-flex-col ${isTrailer ? "sb-justify-start" : ""}`
156
156
  } sb-items-center sb-gap-1 sb-h-full`}
@@ -158,7 +158,9 @@ const VolumeSlider = ({
158
158
  {/* Mute/Unmute Icon */}
159
159
  <div
160
160
  className={`sb-flex sb-relative ${
161
- width < 400 || isTrailer ? "-sb-top-1" : "sb-top-1"
161
+ (width < 400 && player?.isFullscreen_ === false) || isTrailer
162
+ ? "-sb-top-1"
163
+ : "sb-top-1"
162
164
  }`}
163
165
  onClick={toggleVisibility}
164
166
  onDoubleClick={handleDoubleClick}
@@ -166,25 +168,33 @@ const VolumeSlider = ({
166
168
  {volume == 0 || player?.muted() ? (
167
169
  <VolumeMute
168
170
  className={`sb-w-3 sb-h-3 ${
169
- width < 400 || isTrailer ? "" : ""
171
+ (width < 400 && player?.isFullscreen_ === false) || isTrailer
172
+ ? ""
173
+ : ""
170
174
  } sb-h-5 sb-w-5`}
171
175
  />
172
176
  ) : volume < 25 ? (
173
177
  <VolumeVLow
174
178
  className={`sb-w-3 sb-h-3 ${
175
- width < 400 || isTrailer ? "" : ""
179
+ (width < 400 && player?.isFullscreen_ === false) || isTrailer
180
+ ? ""
181
+ : ""
176
182
  } sb-h-5 sb-w-5`}
177
183
  />
178
184
  ) : volume < 50 ? (
179
185
  <VolumeLow
180
186
  className={`sb-w-3 sb-h-3 ${
181
- width < 400 || isTrailer ? "" : ""
187
+ (width < 400 && player?.isFullscreen_ === false) || isTrailer
188
+ ? ""
189
+ : ""
182
190
  } sb-h-5 sb-w-5`}
183
191
  ></VolumeLow>
184
192
  ) : (
185
193
  <VolumeHigh
186
194
  className={`sb-w-3 sb-h-3 ${
187
- width < 400 || isTrailer ? "" : ""
195
+ (width < 400 && player?.isFullscreen_ === false) || isTrailer
196
+ ? ""
197
+ : ""
188
198
  } sb-h-5 sb-w-5`}
189
199
  ></VolumeHigh>
190
200
  )}
@@ -199,7 +209,7 @@ const VolumeSlider = ({
199
209
  ? "sb-w-[22px] sb-opacity-100 sb-visible"
200
210
  : "sb-w-[22px] sb-opacity-0 sb-invisible"
201
211
  } ${
202
- width > 400 && !isTrailer
212
+ (width > 400 || player?.isFullscreen_ === true) && !isTrailer
203
213
  ? "-sb-rotate-90 -sb-translate-y-1"
204
214
  : "sb-rotate-90 sb-translate-y-1"
205
215
  } sb-relative`}
package/dist/index.mjs CHANGED
@@ -727,33 +727,33 @@ var VolumeSlider = ({
727
727
  return /* @__PURE__ */ jsxs7(
728
728
  "div",
729
729
  {
730
- className: `sb-flex ${isVisible ? "" : ""} ${width > 400 && !isTrailer ? "sb-flex-col-reverse" : `sb-flex-col ${isTrailer ? "sb-justify-start" : ""}`} sb-items-center sb-gap-1 sb-h-full`,
730
+ className: `sb-flex ${isVisible ? "" : ""} ${(width > 400 || (player == null ? void 0 : player.isFullscreen_) === true) && !isTrailer ? "sb-flex-col-reverse" : `sb-flex-col ${isTrailer ? "sb-justify-start" : ""}`} sb-items-center sb-gap-1 sb-h-full`,
731
731
  children: [
732
732
  /* @__PURE__ */ jsx24(
733
733
  "div",
734
734
  {
735
- className: `sb-flex sb-relative ${width < 400 || isTrailer ? "-sb-top-1" : "sb-top-1"}`,
735
+ className: `sb-flex sb-relative ${width < 400 && (player == null ? void 0 : player.isFullscreen_) === false || isTrailer ? "-sb-top-1" : "sb-top-1"}`,
736
736
  onClick: toggleVisibility,
737
737
  onDoubleClick: handleDoubleClick,
738
738
  children: volume == 0 || (player == null ? void 0 : player.muted()) ? /* @__PURE__ */ jsx24(
739
739
  VolumeMute_default,
740
740
  {
741
- className: `sb-w-3 sb-h-3 ${width < 400 || isTrailer ? "" : ""} sb-h-5 sb-w-5`
741
+ className: `sb-w-3 sb-h-3 ${width < 400 && (player == null ? void 0 : player.isFullscreen_) === false || isTrailer ? "" : ""} sb-h-5 sb-w-5`
742
742
  }
743
743
  ) : volume < 25 ? /* @__PURE__ */ jsx24(
744
744
  VolumeVLow_default,
745
745
  {
746
- className: `sb-w-3 sb-h-3 ${width < 400 || isTrailer ? "" : ""} sb-h-5 sb-w-5`
746
+ className: `sb-w-3 sb-h-3 ${width < 400 && (player == null ? void 0 : player.isFullscreen_) === false || isTrailer ? "" : ""} sb-h-5 sb-w-5`
747
747
  }
748
748
  ) : volume < 50 ? /* @__PURE__ */ jsx24(
749
749
  VolumeLow_default,
750
750
  {
751
- className: `sb-w-3 sb-h-3 ${width < 400 || isTrailer ? "" : ""} sb-h-5 sb-w-5`
751
+ className: `sb-w-3 sb-h-3 ${width < 400 && (player == null ? void 0 : player.isFullscreen_) === false || isTrailer ? "" : ""} sb-h-5 sb-w-5`
752
752
  }
753
753
  ) : /* @__PURE__ */ jsx24(
754
754
  VolumeHigh_default,
755
755
  {
756
- className: `sb-w-3 sb-h-3 ${width < 400 || isTrailer ? "" : ""} sb-h-5 sb-w-5`
756
+ className: `sb-w-3 sb-h-3 ${width < 400 && (player == null ? void 0 : player.isFullscreen_) === false || isTrailer ? "" : ""} sb-h-5 sb-w-5`
757
757
  }
758
758
  )
759
759
  }
@@ -761,7 +761,7 @@ var VolumeSlider = ({
761
761
  /* @__PURE__ */ jsx24("div", { className: "sb-flex sb-items-center sb-justify-center", children: /* @__PURE__ */ jsx24(
762
762
  "div",
763
763
  {
764
- className: ` sb-transition-all sb-ease-in-out sb-duration-500 ${isVisible ? "sb-w-[22px] sb-opacity-100 sb-visible" : "sb-w-[22px] sb-opacity-0 sb-invisible"} ${width > 400 && !isTrailer ? "-sb-rotate-90 -sb-translate-y-1" : "sb-rotate-90 sb-translate-y-1"} sb-relative`,
764
+ className: ` sb-transition-all sb-ease-in-out sb-duration-500 ${isVisible ? "sb-w-[22px] sb-opacity-100 sb-visible" : "sb-w-[22px] sb-opacity-0 sb-invisible"} ${(width > 400 || (player == null ? void 0 : player.isFullscreen_) === true) && !isTrailer ? "-sb-rotate-90 -sb-translate-y-1" : "sb-rotate-90 sb-translate-y-1"} sb-relative`,
765
765
  children: /* @__PURE__ */ jsx24(
766
766
  Slider_default,
767
767
  {
@@ -873,10 +873,11 @@ var QualityOption = ({
873
873
  width,
874
874
  isTrailer
875
875
  }) => {
876
+ const { player } = useSoftBuildersVideoPlayerContext();
876
877
  return /* @__PURE__ */ jsx26(
877
878
  "button",
878
879
  {
879
- className: `hover:sb-text-orange-500 ${width > 400 && !isTrailer ? "sb-p-2" : "sp-pb-1"}`,
880
+ className: `hover:sb-text-orange-500 ${(width > 400 || (player == null ? void 0 : player.isFullscreen_) === true) && !isTrailer ? "sb-p-2" : "sp-pb-1"}`,
880
881
  onClick: (e) => {
881
882
  e.stopPropagation();
882
883
  onClick(e);
@@ -885,7 +886,7 @@ var QualityOption = ({
885
886
  /* @__PURE__ */ jsx26("div", { className: "sb-col-span-3", children: isSelected ? /* @__PURE__ */ jsx26(
886
887
  CheckedIcon_default,
887
888
  {
888
- className: `${width > 400 && !isTrailer ? "sb-w-5 sb-h-5" : "sb-w-3 sb-h-3"}`
889
+ className: `${(width > 400 || (player == null ? void 0 : player.isFullscreen_) === true) && !isTrailer ? "sb-w-5 sb-h-5" : "sb-w-3 sb-h-3"}`
889
890
  }
890
891
  ) : /* @__PURE__ */ jsx26("div", {}) }),
891
892
  /* @__PURE__ */ jsx26("p", { className: "sb-text-left sb-col-span-9", children: quality == null ? void 0 : quality.label })
@@ -925,7 +926,7 @@ var QualityMenu = ({
925
926
  return /* @__PURE__ */ jsx26(
926
927
  MenuButton_default,
927
928
  {
928
- classContainer: `${width < 400 || isTrailer ? "!sb-top-8 -sb-left-9" : ""}`,
929
+ classContainer: `${width < 400 && (player == null ? void 0 : player.isFullscreen_) === false || isTrailer ? "!sb-top-8 -sb-left-9" : ""}`,
929
930
  onClick: (e, isOpen) => {
930
931
  onClick && onClick(e, isOpen);
931
932
  },
@@ -933,7 +934,7 @@ var QualityMenu = ({
933
934
  menuContent: /* @__PURE__ */ jsx26(
934
935
  "div",
935
936
  {
936
- className: `sb-rounded-md sb-bg-[#303030] sb-bg-opacity-50 ${width > 400 && !isTrailer ? "sb-w-[150px] sb-py-5" : "sb-w-[90px] sb-items-center sb-justify-center sb-py-1"}`,
937
+ className: `sb-rounded-md sb-bg-[#303030] sb-bg-opacity-50 ${(width > 400 || (player == null ? void 0 : player.isFullscreen_) === true) && !isTrailer ? "sb-w-[150px] sb-py-5" : "sb-w-[90px] sb-items-center sb-justify-center sb-py-1"}`,
937
938
  children: /* @__PURE__ */ jsxs9("div", { className: "sb-flex sb-flex-col sb-gap-3", children: [
938
939
  /* @__PURE__ */ jsxs9(
939
940
  "div",
@@ -970,8 +971,11 @@ var QualityMenu = ({
970
971
  (_q) => (q == null ? void 0 : q.label) == (_q == null ? void 0 : _q.label)
971
972
  );
972
973
  if (source && source.src != currentQualitySrc) {
974
+ player == null ? void 0 : player.src(source.src);
973
975
  const currentTime = player == null ? void 0 : player.currentTime();
974
976
  setCurrentQualitySrc(source == null ? void 0 : source.label);
977
+ player == null ? void 0 : player.currentTime(currentTime);
978
+ player == null ? void 0 : player.play();
975
979
  }
976
980
  closeMenuFunction && closeMenuFunction();
977
981
  setIsModalChanged(false);
@@ -1419,12 +1423,12 @@ var SubtitleMenu = ({
1419
1423
  onClick: (e, isOpen) => {
1420
1424
  onClick && onClick(e, isOpen);
1421
1425
  },
1422
- classContainer: `${width < 400 || isTrailer ? "!sb-top-8 -sb-left-9" : ""}`,
1426
+ classContainer: `${width < 400 && (player == null ? void 0 : player.isFullscreen_) === false || isTrailer ? "!sb-top-8 -sb-left-9" : ""}`,
1423
1427
  buttonContent: /* @__PURE__ */ jsx37(SubIcon_default, { className: "sb-w-4 sb-h-4 sb-text-white " }),
1424
1428
  menuContent: /* @__PURE__ */ jsx37(
1425
1429
  "div",
1426
1430
  {
1427
- className: `sb-rounded-md sb-bg-[#303030] sb-bg-opacity-50 ${width > 400 && !isTrailer ? "sb-w-[150px] sb-py-5" : "sb-w-[90px] sb-items-center sb-justify-center sb-py-1"}`,
1431
+ className: `sb-rounded-md sb-bg-[#303030] sb-bg-opacity-50 ${(width > 400 || (player == null ? void 0 : player.isFullscreen_) === true) && !isTrailer ? "sb-w-[150px] sb-py-5" : "sb-w-[90px] sb-items-center sb-justify-center sb-py-1"}`,
1428
1432
  children: /* @__PURE__ */ jsxs15("div", { className: "sb-flex sb-flex-col sb-gap-3", children: [
1429
1433
  /* @__PURE__ */ jsxs15("div", { className: "sb-px-5 sb-flex sb-flex-row sb-gap-3 sb-items-center sb-justify-center", children: [
1430
1434
  /* @__PURE__ */ jsx37(
@@ -1474,7 +1478,8 @@ var TooltipModal = ({
1474
1478
  children,
1475
1479
  isLeft = false,
1476
1480
  width = 0,
1477
- isModalChanged
1481
+ isModalChanged,
1482
+ player
1478
1483
  }) => {
1479
1484
  const [isOpen, setIsOpen] = useState12(false);
1480
1485
  const showTooltip = () => setIsOpen(true);
@@ -1500,7 +1505,7 @@ var TooltipModal = ({
1500
1505
  isOpen && /* @__PURE__ */ jsx38(
1501
1506
  "div",
1502
1507
  {
1503
- className: `sb-tooltip-modal sb-text-orange-900 sb-my-2 ${width > 400 ? "!sb-bottom-[105%]" : "!sb-top-[105%]"}`,
1508
+ className: `sb-tooltip-modal sb-text-orange-900 sb-my-2 ${width > 400 || (player == null ? void 0 : player.isFullscreen_) === true ? "!sb-bottom-[105%]" : "!sb-top-[105%]"}`,
1504
1509
  style: {
1505
1510
  position: "absolute",
1506
1511
  left: !isLeft ? "-100%" : "100%",
@@ -1577,19 +1582,22 @@ var ControlBar = ({
1577
1582
  return /* @__PURE__ */ jsxs17(
1578
1583
  "div",
1579
1584
  {
1580
- className: ` !sb-px-4 sb-flex sb-pt-2 sb-justify-center sb-gap-3 sb-w-full sb-h-full ${width > 400 && !isTrailer ? "sb-absolute sb-bottom-1 sb-items-end sb-mb-1 sb-pb-2 " : "sb-items-start"} sb-pb-2`,
1585
+ className: ` !sb-px-4 sb-flex sb-pt-2 sb-justify-center sb-gap-3 sb-w-full sb-h-full ${(width > 400 || (player == null ? void 0 : player.isFullscreen_) === true) && !isTrailer ? "sb-absolute sb-bottom-1 sb-items-end sb-mb-1 sb-pb-2 " : "sb-items-start"} sb-pb-2`,
1581
1586
  children: [
1582
1587
  /* @__PURE__ */ jsx39(BufferTracker_default, {}),
1583
1588
  /* @__PURE__ */ jsx39(CurrentTimeTracker_default, {}),
1584
1589
  !isTrailer && /* @__PURE__ */ jsx39(
1585
1590
  "button",
1586
1591
  {
1587
- onClick: () => {
1592
+ onClick: (e) => {
1593
+ e.preventDefault();
1594
+ e.stopPropagation();
1588
1595
  seek(-seekStep);
1589
1596
  },
1590
1597
  children: /* @__PURE__ */ jsx39(
1591
1598
  GlobalTooltip_default,
1592
1599
  {
1600
+ player,
1593
1601
  width,
1594
1602
  content: /* @__PURE__ */ jsx39("p", { children: "Backward 5 sec" }),
1595
1603
  isLeft: true,
@@ -1601,6 +1609,7 @@ var ControlBar = ({
1601
1609
  /* @__PURE__ */ jsx39("button", { onClick: togglePlay, children: /* @__PURE__ */ jsx39(
1602
1610
  GlobalTooltip_default,
1603
1611
  {
1612
+ player,
1604
1613
  width,
1605
1614
  content: /* @__PURE__ */ jsx39("p", { children: isPaused ? "Play" : "pause" }),
1606
1615
  isLeft: true,
@@ -1612,11 +1621,13 @@ var ControlBar = ({
1612
1621
  {
1613
1622
  onClick: (e) => {
1614
1623
  e.preventDefault();
1624
+ e.stopPropagation();
1615
1625
  seek(seekStep);
1616
1626
  },
1617
1627
  children: /* @__PURE__ */ jsx39(
1618
1628
  GlobalTooltip_default,
1619
1629
  {
1630
+ player,
1620
1631
  width,
1621
1632
  content: /* @__PURE__ */ jsx39("p", { children: "Forward 5 sec" }),
1622
1633
  isLeft: true,
@@ -1630,16 +1641,16 @@ var ControlBar = ({
1630
1641
  /* @__PURE__ */ jsx39(
1631
1642
  "div",
1632
1643
  {
1633
- className: `${width < 400 && !isTrailer ? "sb-flex-1 sb-ml-0 sb-mr-0" : "sb-w-full"}`,
1644
+ className: `${width < 400 && !isTrailer && (player == null ? void 0 : player.isFullscreen_) === false ? "sb-flex-1 sb-ml-0 sb-mr-0" : "sb-w-full"}`,
1634
1645
  children: /* @__PURE__ */ jsxs17(
1635
1646
  "div",
1636
1647
  {
1637
- style: width < 400 && !isTrailer ? {
1648
+ style: width < 400 && !isTrailer && (player == null ? void 0 : player.isFullscreen_) === false ? {
1638
1649
  width: `${width * 0.9}px`,
1639
1650
  left: "5%",
1640
1651
  top: "90%"
1641
1652
  } : { width: "98%" },
1642
- className: `flex gap-2 ${width < 400 && !isTrailer ? "absolute sb-top-1" : "-sb-translate-y-0 sb-w-full"} hover:sb-w-[45%] `,
1653
+ className: `flex gap-2 ${width < 400 && !isTrailer && (player == null ? void 0 : player.isFullscreen_) === false ? "absolute sb-top-1" : "-sb-translate-y-0 sb-w-full"} hover:sb-w-[45%] `,
1643
1654
  children: [
1644
1655
  /* @__PURE__ */ jsx39(CurrentTimeLabel_default, {}),
1645
1656
  /* @__PURE__ */ jsx39(TimeSliderContainer_default, { chapters, notes }),
@@ -1663,6 +1674,7 @@ var ControlBar = ({
1663
1674
  /* @__PURE__ */ jsx39(
1664
1675
  GlobalTooltip_default,
1665
1676
  {
1677
+ player,
1666
1678
  isModalChanged,
1667
1679
  width,
1668
1680
  content: /* @__PURE__ */ jsx39("p", { children: "Quality" }),
@@ -1681,22 +1693,30 @@ var ControlBar = ({
1681
1693
  )
1682
1694
  }
1683
1695
  ),
1684
- disableNote && /* @__PURE__ */ jsx39(GlobalTooltip_default, { width, content: /* @__PURE__ */ jsx39("p", { children: "Create note" }), children: /* @__PURE__ */ jsx39(
1685
- CreateNoteMenu_default,
1696
+ disableNote && /* @__PURE__ */ jsx39(
1697
+ GlobalTooltip_default,
1686
1698
  {
1687
- handleSaveNoteAction,
1699
+ player,
1688
1700
  width,
1689
- setNoteOpen,
1690
- noteButtonClick: (e) => {
1691
- noteButtonClick && noteButtonClick({
1692
- time: Number((player == null ? void 0 : player.currentTime()) || 0),
1693
- isOpen: e
1694
- });
1695
- player == null ? void 0 : player.pause();
1696
- }
1701
+ content: /* @__PURE__ */ jsx39("p", { children: "Create note" }),
1702
+ children: /* @__PURE__ */ jsx39(
1703
+ CreateNoteMenu_default,
1704
+ {
1705
+ handleSaveNoteAction,
1706
+ width,
1707
+ setNoteOpen,
1708
+ noteButtonClick: (e) => {
1709
+ noteButtonClick && noteButtonClick({
1710
+ time: Number((player == null ? void 0 : player.currentTime()) || 0),
1711
+ isOpen: e
1712
+ });
1713
+ player == null ? void 0 : player.pause();
1714
+ }
1715
+ }
1716
+ )
1697
1717
  }
1698
- ) }),
1699
- /* @__PURE__ */ jsx39(GlobalTooltip_default, { width, content: /* @__PURE__ */ jsx39("p", { children: "Subtitle" }), children: /* @__PURE__ */ jsx39(
1718
+ ),
1719
+ /* @__PURE__ */ jsx39(GlobalTooltip_default, { player, width, content: /* @__PURE__ */ jsx39("p", { children: "Subtitle" }), children: /* @__PURE__ */ jsx39(
1700
1720
  SubtitleMenu_default,
1701
1721
  {
1702
1722
  isTrailer,
@@ -1707,7 +1727,7 @@ var ControlBar = ({
1707
1727
  }
1708
1728
  }
1709
1729
  ) }),
1710
- /* @__PURE__ */ jsx39(GlobalTooltip_default, { width, content: /* @__PURE__ */ jsx39("p", { children: "Full screen" }), children: /* @__PURE__ */ jsx39(
1730
+ /* @__PURE__ */ jsx39(GlobalTooltip_default, { player, width, content: /* @__PURE__ */ jsx39("p", { children: "Full screen" }), children: /* @__PURE__ */ jsx39(
1711
1731
  "button",
1712
1732
  {
1713
1733
  onClick: (e) => {
@@ -1853,6 +1873,7 @@ var VideoPlayerComponent = forwardRef(
1853
1873
  isTrailer,
1854
1874
  height
1855
1875
  }, ref) => {
1876
+ var _a;
1856
1877
  const videoRef = useRef2(void 0);
1857
1878
  const playerRef = useRef2(void 0);
1858
1879
  const idRef = useRef2(void 0);
@@ -1936,9 +1957,9 @@ var VideoPlayerComponent = forwardRef(
1936
1957
  });
1937
1958
  }
1938
1959
  return () => {
1939
- var _a, _b;
1960
+ var _a2, _b;
1940
1961
  if (playerRef.current) {
1941
- if (!isEqual((_b = (_a = idRef == null ? void 0 : idRef.current) == null ? void 0 : _a.sources) != null ? _b : "", options.sources)) {
1962
+ if (!isEqual((_b = (_a2 = idRef == null ? void 0 : idRef.current) == null ? void 0 : _a2.sources) != null ? _b : "", options.sources)) {
1942
1963
  idRef.current = options;
1943
1964
  playerRef.current.dispose();
1944
1965
  playerRef.current = void 0;
@@ -2005,7 +2026,8 @@ var VideoPlayerComponent = forwardRef(
2005
2026
  duration,
2006
2027
  opacity,
2007
2028
  isReady,
2008
- id
2029
+ id,
2030
+ (_a = playerRef == null ? void 0 : playerRef.current) == null ? void 0 : _a.isFullscreen_
2009
2031
  ]);
2010
2032
  useEffect15(() => {
2011
2033
  if (isReady) {
@@ -2101,9 +2123,9 @@ var VideoPlayerComponent = forwardRef(
2101
2123
  const observer = new IntersectionObserver(
2102
2124
  (entries) => {
2103
2125
  entries.forEach((entry) => {
2104
- var _a, _b;
2126
+ var _a2, _b;
2105
2127
  if (entry.isIntersecting === false) {
2106
- if (((_a = playerRef == null ? void 0 : playerRef.current) == null ? void 0 : _a.paused()) === false) {
2128
+ if (((_a2 = playerRef == null ? void 0 : playerRef.current) == null ? void 0 : _a2.paused()) === false) {
2107
2129
  try {
2108
2130
  (_b = playerRef == null ? void 0 : playerRef.current) == null ? void 0 : _b.pause();
2109
2131
  setIsPaused(true);
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.24",
4
+ "version": "1.3.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "files": [