feat: update video form
This commit is contained in:
parent
4155375362
commit
4f2d1be935
|
|
@ -482,7 +482,7 @@ export default function FormVideo() {
|
|||
index,
|
||||
String(id),
|
||||
item,
|
||||
fileTypeId == "2" || fileTypeId == "4" ? item.duration : "0"
|
||||
"0"
|
||||
);
|
||||
});
|
||||
|
||||
|
|
@ -527,7 +527,7 @@ export default function FormVideo() {
|
|||
filename: file.name,
|
||||
filetype: file.type,
|
||||
duration,
|
||||
isWatermark: "true", // hardcode
|
||||
isWatermark: "false", // hardcode
|
||||
},
|
||||
onError: async (e: any) => {
|
||||
console.log("Error upload :", e);
|
||||
|
|
|
|||
Loading…
Reference in New Issue