0
0
Fork 0

Change design of audio players in web UI (#14095)

This commit is contained in:
Eugen Rochko 2020-06-21 02:27:19 +02:00 committed by GitHub
parent f111b71d1c
commit 75a2b8f815
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 560 additions and 106 deletions

View file

@ -345,9 +345,12 @@ class Status extends ImmutablePureComponent {
<Component
src={attachment.get('url')}
alt={attachment.get('description')}
poster={status.getIn(['account', 'avatar_static'])}
duration={attachment.getIn(['meta', 'original', 'duration'], 0)}
peaks={[0]}
width={this.props.cachedMediaWidth}
height={70}
cacheWidth={this.props.cacheMediaWidth}
/>
)}
</Bundle>