diff --git a/client/src/components/preview-modal.tsx b/client/src/components/preview-modal.tsx index 9b796f9..b47ee99 100644 --- a/client/src/components/preview-modal.tsx +++ b/client/src/components/preview-modal.tsx @@ -64,6 +64,30 @@ export function PreviewModal({ } }; + const renderMedia = (media: Media, className: string = "w-full h-auto") => { + const url = getMediaUrl(media); + + if (media.type === 'video') { + return ( +