0
0
Fork 0

Change volume control and download buttons in web UI (#14122)

* Fix audio download button not starting download in web UI

* Fix volume controls on audio and video players in web UI

* Remove download button from video player in web UI
This commit is contained in:
Eugen Rochko 2020-06-23 12:20:14 +02:00 committed by GitHub
parent aaf91abffa
commit 419ad6248b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 105 additions and 94 deletions

View file

@ -347,9 +347,8 @@ class Status extends ImmutablePureComponent {
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}
height={110}
cacheWidth={this.props.cacheMediaWidth}
/>
)}