Fix VideoModal, remove Video close button

This commit is contained in:
Alex Gleason 2022-04-24 18:24:57 -05:00
parent b8eff3e46b
commit 18c4210cec
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7
2 changed files with 11 additions and 13 deletions

View file

@ -31,19 +31,17 @@ const VideoModal: React.FC<IVideoModal> = ({ status, account, media, time, onClo
); );
return ( return (
<div className='modal-root__modal video-modal'> <div className='block w-full max-w-xl mx-auto overflow-hidden text-left align-middle transition-all transform shadow-xl rounded-2xl pointer-events-auto'>
<div> <Video
<Video preview={media.preview_url}
preview={media.preview_url} blurhash={media.blurhash}
blurhash={media.blurhash} src={media.url}
src={media.url} startTime={time}
startTime={time} onCloseVideo={onClose}
onCloseVideo={onClose} link={link}
link={link} detailed
detailed alt={media.description}
alt={media.description} />
/>
</div>
</div> </div>
); );
}; };

Binary file not shown.