fix(components/media): Handle autoplay with blurhash (#1425)
Closes https://github.com/nolanlawson/pinafore/issues/1424.
This commit is contained in:
parent
7188454790
commit
da668c5330
|
@ -27,7 +27,7 @@
|
||||||
title={description}
|
title={description}
|
||||||
on:mouseover="set({mouseover: event})"
|
on:mouseover="set({mouseover: event})"
|
||||||
style="width: {inlineWidth}px; height: {inlineHeight}px;">
|
style="width: {inlineWidth}px; height: {inlineHeight}px;">
|
||||||
{#if type === 'gifv' && $autoplayGifs}
|
{#if type === 'gifv' && $autoplayGifs && !blurhash}
|
||||||
<AutoplayVideo
|
<AutoplayVideo
|
||||||
ariaLabel="Animated GIF: {description}"
|
ariaLabel="Animated GIF: {description}"
|
||||||
poster={previewUrl}
|
poster={previewUrl}
|
||||||
|
|
Loading…
Reference in a new issue