softbuilders-react-video-player 1.2.14 → 1.2.15
Sign up to get free protection for your applications and to get access to all the features.
- 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 +33 -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 +369 -262
- package/dist/styles/tailwind.css +17 -2
- package/dist/types.d.ts +2 -1
- package/package.json +1 -1
package/dist/styles/tailwind.css
CHANGED
@@ -602,6 +602,10 @@ video {
|
|
602
602
|
.sb-grid {
|
603
603
|
display: grid;
|
604
604
|
}
|
605
|
+
.\!sb-h-fit {
|
606
|
+
height: -moz-fit-content !important;
|
607
|
+
height: fit-content !important;
|
608
|
+
}
|
605
609
|
.sb-h-1 {
|
606
610
|
height: 0.25rem;
|
607
611
|
}
|
@@ -626,6 +630,10 @@ video {
|
|
626
630
|
.sb-h-\[3px\] {
|
627
631
|
height: 3px;
|
628
632
|
}
|
633
|
+
.sb-h-fit {
|
634
|
+
height: -moz-fit-content;
|
635
|
+
height: fit-content;
|
636
|
+
}
|
629
637
|
.sb-h-full {
|
630
638
|
height: 100%;
|
631
639
|
}
|
@@ -659,6 +667,10 @@ video {
|
|
659
667
|
.sb-w-\[90px\] {
|
660
668
|
width: 90px;
|
661
669
|
}
|
670
|
+
.sb-w-fit {
|
671
|
+
width: -moz-fit-content;
|
672
|
+
width: fit-content;
|
673
|
+
}
|
662
674
|
.sb-w-full {
|
663
675
|
width: 100%;
|
664
676
|
}
|
@@ -725,8 +737,8 @@ video {
|
|
725
737
|
.sb-items-center {
|
726
738
|
align-items: center;
|
727
739
|
}
|
728
|
-
|
729
|
-
justify-content: flex-start
|
740
|
+
.sb-justify-start {
|
741
|
+
justify-content: flex-start;
|
730
742
|
}
|
731
743
|
.sb-justify-center {
|
732
744
|
justify-content: center;
|
@@ -804,6 +816,9 @@ video {
|
|
804
816
|
.sb-bg-opacity-70 {
|
805
817
|
--tw-bg-opacity: 0.7;
|
806
818
|
}
|
819
|
+
.sb-p-1 {
|
820
|
+
padding: 0.25rem;
|
821
|
+
}
|
807
822
|
.sb-p-2 {
|
808
823
|
padding: 0.5rem;
|
809
824
|
}
|
package/dist/types.d.ts
CHANGED
@@ -21,11 +21,12 @@ export type SoftBuildersVideoPlayerOptions = {
|
|
21
21
|
sources: SoftBuildersVideoPlayerSource[];
|
22
22
|
tracks?: SoftBuildersVideoPlayerTrack[];
|
23
23
|
width?: number;
|
24
|
-
height?: number;
|
25
24
|
childRef?: React.Ref<HTMLDivElement>;
|
26
25
|
disableNote?: boolean;
|
27
26
|
bottomRedBar?: boolean;
|
28
27
|
noteButtonClick?: (e: any) => void;
|
28
|
+
isTrailer?: boolean;
|
29
|
+
height?: number;
|
29
30
|
};
|
30
31
|
export interface SoftBuildersVideoPlayerNote {
|
31
32
|
time: number;
|