[Glitch] Change design of audio players in web UI

Port 75a2b8f815 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
This commit is contained in:
Eugen Rochko
2020-06-21 02:27:19 +02:00
committed by ThibG
parent e62d574ead
commit ad978ab1d4
4 changed files with 552 additions and 101 deletions

View File

@ -142,6 +142,7 @@ export default class DetailedStatus extends ImmutablePureComponent {
src={attachment.get('url')}
alt={attachment.get('description')}
duration={attachment.getIn(['meta', 'original', 'duration'], 0)}
poster={status.getIn(['account', 'avatar_static'])}
height={110}
preload
/>