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

View File

@ -11,7 +11,7 @@
{{on "load" this.imageLoaded}} {{on "load" this.imageLoaded}}
/> />
{{else if (eq this.type this.VIDEO_TYPE)}} {{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}} /> <source src={{@upload.url}} />
</video> </video>
{{else if (eq this.type this.AUDIO_TYPE)}} {{else if (eq this.type this.AUDIO_TYPE)}}