File tree Expand file tree Collapse file tree 2 files changed +1
-4
lines changed
Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ export type VideoTransformationProps = {
4848 duration ?: Duration ;
4949 startOffset ?: StartOffset ;
5050 videoCodec ?: VideoCodec ;
51- resize ?: Resize ;
51+ resize ?: Exclude < Resize , { mode : 'thumbnail' } > ;
5252} ;
5353
5454type VideoV3Props = {
@@ -57,7 +57,6 @@ type VideoV3Props = {
5757 videoProps ?: React . HTMLProps < HTMLVideoElement >
5858} & VideoTransformationProps ;
5959
60-
6160interface VideoV2Props extends React . HTMLProps < HTMLVideoElement > {
6261 src ?: never ;
6362 cldVid : UrlGenCloudinaryVideo ;
Original file line number Diff line number Diff line change @@ -77,10 +77,8 @@ const NewComponentUsage = () => (
7777 } }
7878 duration = { 1 }
7979 resize = { {
80- mode : 'thumbnail' ,
8180 height : 200 ,
8281 width : 200 ,
83- gravity : 'auto'
8482 } }
8583 videoCodec = { {
8684 use : 'h264' ,
You can’t perform that action at this time.
0 commit comments