fix(components/media): Handling of grouped videos (#1409)
* fix(components/media): Handling of grouped videos Fixes #1404 * fix(status/media): Wrap in a div
This commit is contained in:
parent
a895abe2c9
commit
acb134e518
|
@ -1,17 +1,19 @@
|
|||
{#if type === 'video' || type === 'audio'}
|
||||
{#if blurhash}
|
||||
{#if type === 'video'}
|
||||
<LazyImage
|
||||
alt={description}
|
||||
title={description}
|
||||
src={previewUrl}
|
||||
fallback={oneTransparentPixel}
|
||||
blurhash={blurhash}
|
||||
width={inlineWidth}
|
||||
height={inlineHeight}
|
||||
background="var(--loading-bg)"
|
||||
{focus}
|
||||
/>
|
||||
<div>
|
||||
<LazyImage
|
||||
alt={description}
|
||||
title={description}
|
||||
src={previewUrl}
|
||||
fallback={oneTransparentPixel}
|
||||
blurhash={blurhash}
|
||||
width={inlineWidth}
|
||||
height={inlineHeight}
|
||||
background="var(--loading-bg)"
|
||||
{focus}
|
||||
/>
|
||||
</div>
|
||||
{/if}
|
||||
{:else}
|
||||
<button id={elementId}
|
||||
|
|
Loading…
Reference in a new issue