mirror of
https://github.com/spacebarchat/client.git
synced 2024-11-22 18:32:34 +01:00
fix incorrect video size
This commit is contained in:
parent
39b00299aa
commit
1fb1392d58
@ -47,7 +47,7 @@ export default function MessageAttachment({ attachment, contextMenuItems, maxWid
|
||||
/* TODO: poster thumbnail */
|
||||
}
|
||||
a = (
|
||||
<video controls preload="metadata" width={400}>
|
||||
<video playsInline controls preload="metadata" height={400}>
|
||||
{/* TODO: the server doesn't return height and width yet for videos */}
|
||||
<source src={url} type={attachment.content_type} />
|
||||
</video>
|
||||
|
Loading…
Reference in New Issue
Block a user