From 4f2d1be9359d53a9a4cc2a31a6a3204c43868c15 Mon Sep 17 00:00:00 2001 From: hanif salafi Date: Wed, 8 Jan 2025 00:59:19 +0700 Subject: [PATCH] feat: update video form --- components/form/content/video-form.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/form/content/video-form.tsx b/components/form/content/video-form.tsx index f569b617..30b7dd75 100644 --- a/components/form/content/video-form.tsx +++ b/components/form/content/video-form.tsx @@ -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);