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

Closes https://github.com/nolanlawson/pinafore/issues/1424.
This commit is contained in:
Sorin Davidoi 2019-08-23 16:13:25 +02:00 committed by Nolan Lawson
parent 7188454790
commit da668c5330
1 changed files with 1 additions and 1 deletions

View File

@ -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}