softbuilders-react-video-player 1.2.14 → 1.2.16
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.
- package/dist/components/BigPlayButton/index.d.ts +4 -1
- package/dist/components/BigPlayButton/index.js +4 -2
- package/dist/components/BigPlayButton/index.js.map +1 -1
- package/dist/components/BigPlayButton/index.tsx +18 -3
- package/dist/components/ControlBar/index.d.ts +2 -1
- package/dist/components/ControlBar/index.js +16 -12
- package/dist/components/ControlBar/index.js.map +1 -1
- package/dist/components/ControlBar/index.tsx +58 -46
- package/dist/components/QualityMenu/index.d.ts +2 -1
- package/dist/components/QualityMenu/index.js +6 -6
- package/dist/components/QualityMenu/index.js.map +1 -1
- package/dist/components/QualityMenu/index.tsx +13 -5
- package/dist/components/Slider/index.js +1 -1
- package/dist/components/Slider/index.js.map +1 -1
- package/dist/components/Slider/index.tsx +36 -36
- package/dist/components/SoftBuildersVideoPlayer/index.d.ts +2 -0
- package/dist/components/SoftBuildersVideoPlayer/index.js +2 -2
- package/dist/components/SoftBuildersVideoPlayer/index.js.map +1 -1
- package/dist/components/SoftBuildersVideoPlayer/index.tsx +6 -0
- package/dist/components/SubtitleMenu/index.d.ts +2 -1
- package/dist/components/SubtitleMenu/index.js +2 -2
- package/dist/components/SubtitleMenu/index.js.map +1 -1
- package/dist/components/SubtitleMenu/index.tsx +6 -2
- package/dist/components/TimeSlider/index.js.map +1 -1
- package/dist/components/TimeSlider/index.tsx +0 -1
- package/dist/components/VideoPlayerComponent/index.d.ts +2 -0
- package/dist/components/VideoPlayerComponent/index.js +35 -20
- package/dist/components/VideoPlayerComponent/index.js.map +1 -1
- package/dist/components/VideoPlayerComponent/index.tsx +76 -41
- package/dist/components/VolumeSlider/index.d.ts +2 -1
- package/dist/components/VolumeSlider/index.js +29 -8
- package/dist/components/VolumeSlider/index.js.map +1 -1
- package/dist/components/VolumeSlider/index.tsx +57 -15
- package/dist/components/icons/SubIcon.js +1 -1
- package/dist/components/icons/SubIcon.js.map +1 -1
- package/dist/components/icons/SubIcon.tsx +27 -28
- package/dist/components/icons/VolumeHigh.d.ts +3 -0
- package/dist/components/icons/VolumeHigh.js +4 -0
- package/dist/components/icons/VolumeHigh.js.map +1 -0
- package/dist/components/icons/VolumeHigh.tsx +15 -0
- package/dist/components/icons/VolumeHighIcon.d.ts +3 -0
- package/dist/components/icons/VolumeHighIcon.js +4 -0
- package/dist/components/icons/VolumeHighIcon.js.map +1 -0
- package/dist/components/icons/VolumeHighIcon.tsx +16 -0
- package/dist/components/icons/VolumeIconHigh.d.ts +3 -0
- package/dist/components/icons/VolumeIconHigh.js +4 -0
- package/dist/components/icons/VolumeIconHigh.js.map +1 -0
- package/dist/components/icons/VolumeIconHigh.tsx +16 -0
- package/dist/components/icons/VolumeIconLow copy.d.ts +3 -0
- package/dist/components/icons/VolumeIconLow copy.js +4 -0
- package/dist/components/icons/VolumeIconLow copy.js.map +1 -0
- package/dist/components/icons/VolumeIconLow copy.tsx +17 -0
- package/dist/components/icons/VolumeLow.d.ts +3 -0
- package/dist/components/icons/VolumeLow.js +4 -0
- package/dist/components/icons/VolumeLow.js.map +1 -0
- package/dist/components/icons/VolumeLow.tsx +14 -0
- package/dist/components/icons/VolumeLowIcon.d.ts +3 -0
- package/dist/components/icons/VolumeLowIcon.js +4 -0
- package/dist/components/icons/VolumeLowIcon.js.map +1 -0
- package/dist/components/icons/VolumeLowIcon.tsx +15 -0
- package/dist/components/icons/VolumeMute.d.ts +3 -0
- package/dist/components/icons/VolumeMute.js +10 -0
- package/dist/components/icons/VolumeMute.js.map +1 -0
- package/dist/components/icons/VolumeMute.tsx +25 -0
- package/dist/components/icons/VolumeVLow.d.ts +3 -0
- package/dist/components/icons/VolumeVLow.js +4 -0
- package/dist/components/icons/VolumeVLow.js.map +1 -0
- package/dist/components/icons/VolumeVLow.tsx +14 -0
- package/dist/components/icons/index.d.ts +4 -0
- package/dist/components/icons/index.js +4 -0
- package/dist/components/icons/index.js.map +1 -1
- package/dist/components/icons/index.ts +19 -15
- package/dist/index.css +17 -2
- package/dist/index.d.mts +4 -1
- package/dist/index.mjs +370 -262
- package/dist/styles/tailwind.css +17 -2
- package/dist/types.d.ts +2 -1
- package/package.json +2 -1
@@ -13,4 +13,8 @@ export { default as SettingsIcon } from "./SettingsIcon";
|
|
13
13
|
export { default as SubIcon } from "./SubIcon";
|
14
14
|
export { default as SubtitlesIcon } from "./SubtitlesIcon";
|
15
15
|
export { default as UnmuteIcon } from "./UnmuteIcon";
|
16
|
+
export { default as VolumeHigh } from "./VolumeHigh";
|
17
|
+
export { default as VolumeLow } from "./VolumeLow";
|
18
|
+
export { default as VolumeMute } from "./VolumeMute";
|
19
|
+
export { default as VolumeVLow } from "./VolumeVLow";
|
16
20
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/icons/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACzD,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAC7D,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAC7D,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAC3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACzD,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,EAAE,O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C;AAC3D,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAC"}
|
@@ -1,15 +1,19 @@
|
|
1
|
-
export { default as BackwardIcon } from "./BackwardIcon";
|
2
|
-
export { default as CheckedIcon } from "./CheckedIcon";
|
3
|
-
export { default as ClosedNoteIcon } from "./ClosedNoteIcon";
|
4
|
-
export { default as ForwardIcon } from "./ForwardIcon";
|
5
|
-
export { default as FullScreenIcon } from "./FullScreenIcon";
|
6
|
-
export { default as LeftArrowIcon } from "./LeftArrowIcon";
|
7
|
-
export { default as MuteIcon } from "./MuteIcon";
|
8
|
-
export { default as NoteIcon } from "./NoteIcon";
|
9
|
-
export { default as OpenNoteIcon } from "./OpenNoteIcon";
|
10
|
-
export { default as PauseIcon } from "./PauseIcon";
|
11
|
-
export { default as PlayIcon } from "./PlayIcon";
|
12
|
-
export { default as SettingsIcon } from "./SettingsIcon";
|
13
|
-
export { default as SubIcon } from "./SubIcon";
|
14
|
-
export { default as SubtitlesIcon } from "./SubtitlesIcon";
|
15
|
-
export { default as UnmuteIcon } from "./UnmuteIcon";
|
1
|
+
export { default as BackwardIcon } from "./BackwardIcon";
|
2
|
+
export { default as CheckedIcon } from "./CheckedIcon";
|
3
|
+
export { default as ClosedNoteIcon } from "./ClosedNoteIcon";
|
4
|
+
export { default as ForwardIcon } from "./ForwardIcon";
|
5
|
+
export { default as FullScreenIcon } from "./FullScreenIcon";
|
6
|
+
export { default as LeftArrowIcon } from "./LeftArrowIcon";
|
7
|
+
export { default as MuteIcon } from "./MuteIcon";
|
8
|
+
export { default as NoteIcon } from "./NoteIcon";
|
9
|
+
export { default as OpenNoteIcon } from "./OpenNoteIcon";
|
10
|
+
export { default as PauseIcon } from "./PauseIcon";
|
11
|
+
export { default as PlayIcon } from "./PlayIcon";
|
12
|
+
export { default as SettingsIcon } from "./SettingsIcon";
|
13
|
+
export { default as SubIcon } from "./SubIcon";
|
14
|
+
export { default as SubtitlesIcon } from "./SubtitlesIcon";
|
15
|
+
export { default as UnmuteIcon } from "./UnmuteIcon";
|
16
|
+
export { default as VolumeHigh } from "./VolumeHigh";
|
17
|
+
export { default as VolumeLow } from "./VolumeLow";
|
18
|
+
export { default as VolumeMute } from "./VolumeMute";
|
19
|
+
export { default as VolumeVLow } from "./VolumeVLow";
|
package/dist/index.css
CHANGED
@@ -515,6 +515,10 @@ video {
|
|
515
515
|
.sb-grid {
|
516
516
|
display: grid;
|
517
517
|
}
|
518
|
+
.\!sb-h-fit {
|
519
|
+
height: -moz-fit-content !important;
|
520
|
+
height: fit-content !important;
|
521
|
+
}
|
518
522
|
.sb-h-1 {
|
519
523
|
height: 0.25rem;
|
520
524
|
}
|
@@ -539,6 +543,10 @@ video {
|
|
539
543
|
.sb-h-\[3px\] {
|
540
544
|
height: 3px;
|
541
545
|
}
|
546
|
+
.sb-h-fit {
|
547
|
+
height: -moz-fit-content;
|
548
|
+
height: fit-content;
|
549
|
+
}
|
542
550
|
.sb-h-full {
|
543
551
|
height: 100%;
|
544
552
|
}
|
@@ -572,6 +580,10 @@ video {
|
|
572
580
|
.sb-w-\[90px\] {
|
573
581
|
width: 90px;
|
574
582
|
}
|
583
|
+
.sb-w-fit {
|
584
|
+
width: -moz-fit-content;
|
585
|
+
width: fit-content;
|
586
|
+
}
|
575
587
|
.sb-w-full {
|
576
588
|
width: 100%;
|
577
589
|
}
|
@@ -638,8 +650,8 @@ video {
|
|
638
650
|
.sb-items-center {
|
639
651
|
align-items: center;
|
640
652
|
}
|
641
|
-
|
642
|
-
justify-content: flex-start
|
653
|
+
.sb-justify-start {
|
654
|
+
justify-content: flex-start;
|
643
655
|
}
|
644
656
|
.sb-justify-center {
|
645
657
|
justify-content: center;
|
@@ -717,6 +729,9 @@ video {
|
|
717
729
|
.sb-bg-opacity-70 {
|
718
730
|
--tw-bg-opacity: 0.7;
|
719
731
|
}
|
732
|
+
.sb-p-1 {
|
733
|
+
padding: 0.25rem;
|
734
|
+
}
|
720
735
|
.sb-p-2 {
|
721
736
|
padding: 0.5rem;
|
722
737
|
}
|
package/dist/index.d.mts
CHANGED
@@ -23,11 +23,12 @@ type SoftBuildersVideoPlayerOptions = {
|
|
23
23
|
sources: SoftBuildersVideoPlayerSource[];
|
24
24
|
tracks?: SoftBuildersVideoPlayerTrack[];
|
25
25
|
width?: number;
|
26
|
-
height?: number;
|
27
26
|
childRef?: React.Ref<HTMLDivElement>;
|
28
27
|
disableNote?: boolean;
|
29
28
|
bottomRedBar?: boolean;
|
30
29
|
noteButtonClick?: (e: any) => void;
|
30
|
+
isTrailer?: boolean;
|
31
|
+
height?: number;
|
31
32
|
};
|
32
33
|
interface SoftBuildersVideoPlayerNote {
|
33
34
|
time: number;
|
@@ -53,6 +54,8 @@ type Props<T = any> = {
|
|
53
54
|
childRef?: React$1.Ref<HTMLDivElement>;
|
54
55
|
noteButtonClick?: (e: any) => void;
|
55
56
|
videoId?: string;
|
57
|
+
isTrailer?: boolean;
|
58
|
+
height?: number;
|
56
59
|
};
|
57
60
|
declare const SoftBuildersVideoPlayer: React$1.MemoExoticComponent<React$1.ForwardRefExoticComponent<Props<any> & React$1.RefAttributes<HTMLDivElement>>>;
|
58
61
|
|