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
5 changed files with 105 additions and 94 deletions

View File

@ -118,8 +118,7 @@ export default class DetailedStatus extends ImmutablePureComponent {
alt={attachment.get('description')}
duration={attachment.getIn(['meta', 'original', 'duration'], 0)}
poster={status.getIn(['account', 'avatar_static'])}
height={110}
preload
height={150}
/>
);
} else if (status.getIn(['media_attachments', 0, 'type']) === 'video') {