softbuilders-react-video-player 1.1.55 → 1.1.56
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/SoftBuildersVideoPlayer/index.d.ts +2 -1
- package/dist/components/SoftBuildersVideoPlayer/index.js +4 -4
- package/dist/components/SoftBuildersVideoPlayer/index.js.map +1 -1
- package/dist/components/SoftBuildersVideoPlayer/index.tsx +69 -64
- package/dist/components/VideoPlayerComponent/index.d.ts +3 -1
- package/dist/components/VideoPlayerComponent/index.js +4 -4
- package/dist/components/VideoPlayerComponent/index.js.map +1 -1
- package/dist/components/VideoPlayerComponent/index.tsx +267 -261
- package/dist/index.d.mts +4 -3
- package/dist/index.mjs +342 -333
- package/dist/types.d.ts +1 -0
- package/package.json +1 -1
@@ -10,6 +10,7 @@ export type Props<T = any> = {
|
|
10
10
|
onPause?: (time: number) => void;
|
11
11
|
isFocused?: boolean;
|
12
12
|
disableNote?: boolean;
|
13
|
+
childRef?: React.Ref<HTMLDivElement>;
|
13
14
|
};
|
14
|
-
declare const SoftBuildersVideoPlayer: React.MemoExoticComponent<
|
15
|
+
declare const SoftBuildersVideoPlayer: React.MemoExoticComponent<React.ForwardRefExoticComponent<Props<any> & React.RefAttributes<HTMLDivElement>>>;
|
15
16
|
export default SoftBuildersVideoPlayer;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
2
|
-
import { memo, useEffect, useState } from "react";
|
2
|
+
import { forwardRef, memo, useEffect, useState } from "react";
|
3
3
|
import VideoPlayerComponent from "../VideoPlayerComponent";
|
4
4
|
import { convertSRTtoVTT } from "../../utils";
|
5
5
|
const DEFAULT_OPTIONS = {
|
@@ -12,7 +12,7 @@ const DEFAULT_OPTIONS = {
|
|
12
12
|
sources: [],
|
13
13
|
tracks: [],
|
14
14
|
};
|
15
|
-
const Component = ({ options, notes, chapters, startTime = 0, handleSaveNoteAction, onPlay, onPause, isFocused = true, disableNote, }) => {
|
15
|
+
const Component = forwardRef(({ options, notes, chapters, startTime = 0, handleSaveNoteAction, onPlay, onPause, isFocused = true, disableNote, childRef, }) => {
|
16
16
|
options = Object.assign(Object.assign({}, options), { responsive: true, inactivityTimeout: 0, fullscreen: {
|
17
17
|
navigationUI: "hide",
|
18
18
|
} });
|
@@ -46,8 +46,8 @@ const Component = ({ options, notes, chapters, startTime = 0, handleSaveNoteActi
|
|
46
46
|
getTracks();
|
47
47
|
}, [options === null || options === void 0 ? void 0 : options.tracks]);
|
48
48
|
const id = (Date.now() + Math.random() * 100).toString();
|
49
|
-
return (_jsx(VideoPlayerComponent, { id: id, chapters: chapters, options: Object.assign(Object.assign({}, options), { tracks }), notes: notes, poster: "", startTime: startTime, handleSaveNoteAction: handleSaveNoteAction, disableNote: disableNote, onPause: onPause, onPlay: onPlay }));
|
50
|
-
};
|
49
|
+
return (_jsx(VideoPlayerComponent, { id: id, chapters: chapters, options: Object.assign(Object.assign({}, options), { tracks }), notes: notes, poster: "", startTime: startTime, handleSaveNoteAction: handleSaveNoteAction, disableNote: disableNote, onPause: onPause, onPlay: onPlay, childRef: childRef }));
|
50
|
+
});
|
51
51
|
const SoftBuildersVideoPlayer = memo(Component, (prevProps, nextProps) => {
|
52
52
|
return (prevProps.options === nextProps.options &&
|
53
53
|
prevProps.notes === nextProps.notes &&
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/SoftBuildersVideoPlayer/index.tsx"],"names":[],"mappings":";AAAA,OAAc,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/SoftBuildersVideoPlayer/index.tsx"],"names":[],"mappings":";AAAA,OAAc,EAAE,UAAU,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACrE,OAAO,oBAAoB,MAAM,yBAAyB,CAAC;AAO3D,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;A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C,WAAW,EAAE,WAAW,EACxB,OAAO,EAAE,OAAO,EAChB,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,QAAQ,GAClB,CACH,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,uBAAuB,GAAG,IAAI,CAAC,SAAS,EAAE,CAAC,SAAS,EAAE,SAAS,EAAE,EAAE;IACvE,OAAO,CACL,SAAS,CAAC,OAAO,KAAK,SAAS,CAAC,OAAO;QACvC,SAAS,CAAC,KAAK,KAAK,SAAS,CAAC,KAAK;QACnC,SAAS,CAAC,QAAQ,KAAK,SAAS,CAAC,QAAQ;QACzC,SAAS,CAAC,SAAS,KAAK,SAAS,CAAC,SAAS,CAC5C,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,eAAe,uBAAuB,CAAC"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import React, { memo, useEffect, useState } from "react";
|
1
|
+
import React, { forwardRef, memo, useEffect, useState } from "react";
|
2
2
|
import VideoPlayerComponent from "../VideoPlayerComponent";
|
3
3
|
import {
|
4
4
|
SoftBuildersVideoPlayerChapter,
|
@@ -29,79 +29,84 @@ export type Props<T = any> = {
|
|
29
29
|
onPause?: (time: number) => void;
|
30
30
|
isFocused?: boolean;
|
31
31
|
disableNote?: boolean;
|
32
|
+
childRef?: React.Ref<HTMLDivElement>;
|
32
33
|
};
|
33
34
|
|
34
|
-
const Component = <
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
35
|
+
const Component = forwardRef<HTMLDivElement, Props<any>>(
|
36
|
+
({
|
37
|
+
options,
|
38
|
+
notes,
|
39
|
+
chapters,
|
40
|
+
startTime = 0,
|
41
|
+
handleSaveNoteAction,
|
42
|
+
onPlay,
|
43
|
+
onPause,
|
44
|
+
isFocused = true,
|
45
|
+
disableNote,
|
46
|
+
childRef,
|
47
|
+
}: Props<any>) => {
|
48
|
+
options = {
|
49
|
+
...options,
|
50
|
+
responsive: true,
|
51
|
+
inactivityTimeout: 0,
|
52
|
+
fullscreen: {
|
53
|
+
navigationUI: "hide",
|
54
|
+
},
|
55
|
+
} as any;
|
53
56
|
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
57
|
+
if (options.autoplay === undefined)
|
58
|
+
options.autoplay = DEFAULT_OPTIONS.autoplay;
|
59
|
+
if (options.controls === undefined)
|
60
|
+
options.controls = DEFAULT_OPTIONS.controls;
|
61
|
+
if (options.fluid === undefined) options.fluid = DEFAULT_OPTIONS.fluid;
|
62
|
+
if (options?.muted === undefined) options.muted = DEFAULT_OPTIONS?.muted;
|
63
|
+
if (options.height === undefined) options.height = DEFAULT_OPTIONS.height;
|
64
|
+
if (options.width === undefined) options.width = DEFAULT_OPTIONS.width;
|
62
65
|
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
66
|
+
const [tracks, setTracks] = useState<SoftBuildersVideoPlayerTrack[]>([]);
|
67
|
+
useEffect(() => {}, [isFocused]);
|
68
|
+
useEffect(() => {
|
69
|
+
const getTracks = async () => {
|
70
|
+
const newTracks: SoftBuildersVideoPlayerTrack[] = [];
|
71
|
+
if (Array.isArray(options?.tracks))
|
72
|
+
for (const [i, s] of options?.tracks.entries()) {
|
73
|
+
let src = s.src;
|
71
74
|
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
+
if (s.memeType == "text/srt") {
|
76
|
+
src = await convertSRTtoVTT(s.src);
|
77
|
+
}
|
75
78
|
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
79
|
+
newTracks.push({
|
80
|
+
...s,
|
81
|
+
src,
|
82
|
+
});
|
83
|
+
}
|
81
84
|
|
82
|
-
|
83
|
-
|
85
|
+
setTracks(newTracks);
|
86
|
+
};
|
84
87
|
|
85
|
-
|
86
|
-
|
88
|
+
getTracks();
|
89
|
+
}, [options?.tracks]);
|
87
90
|
|
88
|
-
|
91
|
+
const id = (Date.now() + Math.random() * 100).toString();
|
89
92
|
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
93
|
+
return (
|
94
|
+
<VideoPlayerComponent
|
95
|
+
id={id}
|
96
|
+
chapters={chapters}
|
97
|
+
options={{ ...options, tracks }}
|
98
|
+
notes={notes}
|
99
|
+
poster=""
|
100
|
+
startTime={startTime}
|
101
|
+
handleSaveNoteAction={handleSaveNoteAction}
|
102
|
+
disableNote={disableNote}
|
103
|
+
onPause={onPause}
|
104
|
+
onPlay={onPlay}
|
105
|
+
childRef={childRef}
|
106
|
+
/>
|
107
|
+
);
|
108
|
+
}
|
109
|
+
);
|
105
110
|
|
106
111
|
const SoftBuildersVideoPlayer = memo(Component, (prevProps, nextProps) => {
|
107
112
|
return (
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import React from "react";
|
1
2
|
import "video.js/dist/video-js.css";
|
2
3
|
import { SoftBuildersVideoPlayerChapter, SoftBuildersVideoPlayerNote, SoftBuildersVideoPlayerOptions } from "../../types";
|
3
4
|
import "./style/style.css";
|
@@ -13,6 +14,7 @@ export type Props<T = any> = {
|
|
13
14
|
onPlay?: (time: number) => void;
|
14
15
|
onPause?: (time: number) => void;
|
15
16
|
disableNote?: boolean;
|
17
|
+
childRef?: React.Ref<HTMLDivElement>;
|
16
18
|
};
|
17
|
-
declare const VideoPlayerComponent: <
|
19
|
+
declare const VideoPlayerComponent: React.ForwardRefExoticComponent<Props<any> & React.RefAttributes<HTMLDivElement>>;
|
18
20
|
export default VideoPlayerComponent;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
2
|
-
import { useEffect, useRef, useState } from "react";
|
2
|
+
import { forwardRef, useEffect, useRef, useState } from "react";
|
3
3
|
import ReactDOM from "react-dom/client";
|
4
4
|
import videojs from "video.js";
|
5
5
|
import "video.js/dist/video-js.css";
|
@@ -43,7 +43,7 @@ const renderControlBar = (id, player, isPaused, setIsPaused, duration, notes, ch
|
|
43
43
|
}
|
44
44
|
}
|
45
45
|
};
|
46
|
-
const VideoPlayerComponent = ({ id, options, notes, chapters, startTime = 0, handleSaveNoteAction, poster, onPlay, onPause, disableNote, }) => {
|
46
|
+
const VideoPlayerComponent = forwardRef(({ id, options, notes, chapters, startTime = 0, handleSaveNoteAction, poster, onPlay, onPause, disableNote, childRef, }) => {
|
47
47
|
var _a;
|
48
48
|
const videoRef = useRef(undefined);
|
49
49
|
const playerRef = useRef(undefined);
|
@@ -279,9 +279,9 @@ const VideoPlayerComponent = ({ id, options, notes, chapters, startTime = 0, han
|
|
279
279
|
}, [(_a = playerRef === null || playerRef === void 0 ? void 0 : playerRef.current) === null || _a === void 0 ? void 0 : _a.currentTime()]);
|
280
280
|
return (_jsxs("div", { ref: videoRefs, id: `video-container-${id}`, onMouseMove: () => {
|
281
281
|
handlePlayerClick(event, true);
|
282
|
-
}, className: "sb-relative sb-rounded-md sb-overflow-hidden sb-w-full sb-h-full sb-bottom-2 ", onMouseEnter: () => setIsHovered(true), onMouseLeave: () => setIsHovered(false), children: [_jsx("div", { className: `sb-h-[3px] sb-transition-opacity sb-duration-500 sb-delay-400 sb-z-10 ease-in-out sb-border-spacing-x-2 sb-absolute sb-bg-[red] sb-bottom-0 ${opacity == "100" ? "sb-opacity-0" : "sb-opacity-100"}`, style: {
|
282
|
+
}, className: "sb-relative sb-rounded-md sb-overflow-hidden sb-w-full sb-h-full sb-bottom-2 ", onMouseEnter: () => setIsHovered(true), onMouseLeave: () => setIsHovered(false), children: [_jsx("div", { ref: childRef, onClick: handlePlayerClick, className: `sb-h-[3px] sb-transition-opacity sb-duration-500 sb-delay-400 sb-z-10 ease-in-out sb-border-spacing-x-2 sb-absolute sb-bg-[red] sb-bottom-0 ${opacity == "100" ? "sb-opacity-0" : "sb-opacity-100"}`, style: {
|
283
283
|
width: timeSeeker,
|
284
284
|
} }), _jsx("div", { className: "hover:sb-cursor-pointer sb-w-full sb-h-full", "data-vjs-player": true, children: _jsx("div", { onClick: handlePlayerClick, ref: videoRef, className: "sb-h-full sb-w-full sb-relative" }) })] }));
|
285
|
-
};
|
285
|
+
});
|
286
286
|
export default VideoPlayerComponent;
|
287
287
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/VideoPlayerComponent/index.tsx"],"names":[],"mappings":";AAAA,OAAc,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC3D,OAAO,QAAQ,MAAM,kBAAkB,CAAC;AACxC,OAAO,OAAO,MAAM,UAAU,CAAC;AAE/B,OAAO,4BAA4B,CAAC;AACpC,OAAO,UAAU,MAAM,eAAe,CAAC;AAMvC,OAAO,mBAAmB,CAAC;AAC3B,OAAO,2BAA2B,CAAC;AACnC,OAAO,EAAE,+BAA+B,EAAE,MAAM,YAAY,CAAC;AAC7D,OAAO,aAAa,MAAM,kBAAkB,CAAC;AAC7C,IAAI,iBAAiB,GAEjB,EAAE,CAAC;AACP,MAAM,mBAAmB,GAAG,CAC1B,EAAU,EACV,MAA0B,EAC1B,QAAiB,EACjB,WAA0D,EAC1D,UAAkB,KAAK,EACvB,EAAE;IACF,MAAM,SAAS,GAAG,QAAQ,CAAC,cAAc,CAAC,mBAAmB,EAAE,EAAE,CAAC,CAAC;IAEnE,IAAI,SAAS,EAAE,CAAC;QACd,SAAS,CAAC,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC;QAChC,MAAM,OAAO,GAAQ,SAAS,CAAC,aAAa,CAAC,sBAAsB,CAAC,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AQ,CAAC,GAAG,GAAG,GAAG,CAAC;oBACnD,aAAa,CAAC,KAAK,CAAC,CAAC;gBACvB,CAAC;qBAAM,CAAC;oBACN,aAAa,CAAC,GAAG,CAAC,CAAC;gBACrB,CAAC;YACH,CAAC;QACH,CAAC,CAAC;QACF,gBAAgB,EAAE,CAAC;IACrB,CAAC,EAAE,CAAC,MAAA,SAAS,aAAT,SAAS,uBAAT,SAAS,CAAE,OAAO,0CAAE,WAAW,EAAE,CAAC,CAAC,CAAC;IAExC,OAAO,CACL,eACE,GAAG,EAAE,SAAS,EACd,EAAE,EAAE,mBAAmB,EAAE,EAAE,EAC3B,WAAW,EAAE,GAAG,EAAE;YAChB,iBAAiB,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;QACjC,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,aAEvC,cACE,SAAS,EAAE,+IACT,OAAO,IAAI,KAAK,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,gBACtC,EAAE,EACF,KAAK,EAAE;oBACL,KAAK,EAAE,UAAU;iBAClB,GACI,EACP,cACE,SAAS,EAAC,6CAA6C,qCAIvD,cACE,OAAO,EAAE,iBAAiB,EAC1B,GAAG,EAAE,QAAQ,EACb,SAAS,EAAC,iCAAiC,GACtC,GACH,IACF,CACP,CAAC;AACJ,CAAC,CAAC;AACF,eAAe,oBAAoB,CAAC"}
|
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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