url detail-video

This commit is contained in:
Sabda Yagra 2025-07-16 08:03:50 +07:00
parent ced4fae0da
commit 80169209a2
2 changed files with 3 additions and 3 deletions

View File

@ -351,8 +351,8 @@ const EventModal = ({
id: detailData?.id, id: detailData?.id,
title: data.title, title: data.title,
description: data.description, description: data.description,
agendaType: agendaTypeList.join(","), // <-- ubah array jadi string agendaType: agendaTypeList.join(","),
assignedToLevel: assignedToLevelList.join(","), // <-- ubah array jadi string assignedToLevel: assignedToLevelList.join(","),
startDate: date?.from ? format(date.from, "yyyy-MM-dd") : null, startDate: date?.from ? format(date.from, "yyyy-MM-dd") : null,
endDate: date?.to ? format(date.to, "yyyy-MM-dd") : null, endDate: date?.to ? format(date.to, "yyyy-MM-dd") : null,
}; };

View File

@ -469,7 +469,7 @@ const DetailVideo = () => {
{/* Bagian Kiri */} {/* Bagian Kiri */}
<div className="md:w-3/4"> <div className="md:w-3/4">
<div className="relative"> <div className="relative">
<VideoPlayer url={detailDataVideo?.files[selectedVideo]?.secondaryUrl} /> <VideoPlayer url={detailDataVideo?.files[selectedVideo]?.url} />
<div className="absolute top-4 left-4"></div> <div className="absolute top-4 left-4"></div>
</div> </div>
<div className="py-4 flex flex-col gap-3"> <div className="py-4 flex flex-col gap-3">