url detail-video
This commit is contained in:
parent
ced4fae0da
commit
80169209a2
|
|
@ -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,
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -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">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue