mirror of
https://github.com/discourse/discourse.git
synced 2025-06-15 10:31:23 +08:00
FIX: chat layout shift when loading videos (#23537)
This commit is contained in:
@ -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)}}
|
||||||
|
Reference in New Issue
Block a user