FIX: chat layout shift when loading videos (#23537)

This commit is contained in:
Jan Cernik 2023-09-12 10:01:17 -03:00 committed by GitHub
parent 16ccf30abc
commit d9238fb01b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,7 +11,7 @@
{{on "load" this.imageLoaded}}
/>
{{else if (eq this.type this.VIDEO_TYPE)}}
<video class="chat-video-upload" preload="metadata" controls>
<video class="chat-video-upload" preload="metadata" height="150" controls>
<source src={{@upload.url}} />
</video>
{{else if (eq this.type this.AUDIO_TYPE)}}