Fix audio modals not using blurhash and poster (#14199)

This commit is contained in:
Eugen Rochko
2020-07-02 16:27:35 +02:00
committed by GitHub
parent 7f1143a40d
commit 162adf61f2
2 changed files with 9 additions and 4 deletions

View File

@ -59,8 +59,9 @@ export default class AudioModal extends ImmutablePureComponent {
src={media.get('url')}
alt={media.get('description')}
duration={media.getIn(['meta', 'original', 'duration'], 0)}
height={135}
preload
height={150}
poster={media.get('preview_url') || status.getIn(['account', 'avatar_static'])}
blurhash={media.get('blurhash')}
/>
</div>