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, index,
String(id), String(id),
item, item,
fileTypeId == "2" || fileTypeId == "4" ? item.duration : "0" "0"
); );
}); });
@ -527,7 +527,7 @@ export default function FormVideo() {
filename: file.name, filename: file.name,
filetype: file.type, filetype: file.type,
duration, duration,
isWatermark: "true", // hardcode isWatermark: "false", // hardcode
}, },
onError: async (e: any) => { onError: async (e: any) => {
console.log("Error upload :", e); console.log("Error upload :", e);