Change design of audio players in web UI (#14095)
This commit is contained in:
parent
f111b71d1c
commit
75a2b8f815
4 changed files with 560 additions and 106 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue