feat: update video form

This commit is contained in:
hanif salafi 2025-01-08 00:59:19 +07:00
parent 4155375362
commit 4f2d1be935
1 changed files with 2 additions and 2 deletions

View File

@ -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);