1
0
mirror of https://github.com/spacebarchat/client.git synced 2024-11-26 04:02:46 +01:00

reduce video height to 200

This commit is contained in:
Puyodead1 2023-09-03 01:48:17 -04:00 committed by Puyodead1
parent 565f5073fd
commit e005f98a55
No known key found for this signature in database
GPG Key ID: A4FA4FEC0DD353FC

View File

@ -48,8 +48,8 @@ export default function MessageAttachment({ attachment, contextMenuItems, maxWid
/* TODO: poster thumbnail */
}
finalElement = (
<video playsInline controls preload="metadata" height={400}>
{/* TODO: the server doesn't return height and width yet for videos */}
{/* TODO: the server doesn't return height and width yet for videos */}
<video playsInline controls preload="metadata" height={200}>
<source src={url} type={attachment.content_type} />
</video>
);