fix(components/media): Handle autoplay with blurhash (#1425)

Closes https://github.com/nolanlawson/pinafore/issues/1424.
sudo-false
Sorin Davidoi 2019-08-23 16:13:25 +02:00 zatwierdzone przez Nolan Lawson
rodzic 7188454790
commit da668c5330
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -27,7 +27,7 @@
title={description}
on:mouseover="set({mouseover: event})"
style="width: {inlineWidth}px; height: {inlineHeight}px;">
{#if type === 'gifv' && $autoplayGifs}
{#if type === 'gifv' && $autoplayGifs && !blurhash}
<AutoplayVideo
ariaLabel="Animated GIF: {description}"
poster={previewUrl}