[Glitch] Fix audio modals not using blurhash and poster
Port 162adf61f2
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
This commit is contained in:
committed by
Thibaut Girka
parent
2d8be0a6e1
commit
ad73e05f46
@@ -36,8 +36,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>
|
||||
|
||||
|
Reference in New Issue
Block a user