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:
parent
565f5073fd
commit
e005f98a55
@ -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>
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user