Merge branch 'video-meta-fixes' into 'develop'
Fix video meta dimensions See merge request soapbox-pub/soapbox-fe!509
This commit is contained in:
commit
51e52dcfb6
4 changed files with 4 additions and 4 deletions
|
@ -360,7 +360,7 @@ class Status extends ImmutablePureComponent {
|
|||
blurhash={video.get('blurhash')}
|
||||
src={video.get('url')}
|
||||
alt={video.get('description')}
|
||||
aspectRatio={video.getIn(['meta', 'small', 'aspect'])}
|
||||
aspectRatio={video.getIn(['meta', 'original', 'aspect'])}
|
||||
width={this.props.cachedMediaWidth}
|
||||
height={285}
|
||||
inline
|
||||
|
|
|
@ -55,7 +55,7 @@ class ReportStatus extends ImmutablePureComponent {
|
|||
blurhash={video.get('blurhash')}
|
||||
src={video.get('url')}
|
||||
alt={video.get('description')}
|
||||
aspectRatio={video.getIn(['meta', 'small', 'aspect'])}
|
||||
aspectRatio={video.getIn(['meta', 'original', 'aspect'])}
|
||||
width={239}
|
||||
height={110}
|
||||
inline
|
||||
|
|
|
@ -38,7 +38,7 @@ export default class StatusCheckBox extends React.PureComponent {
|
|||
blurhash={video.get('blurhash')}
|
||||
src={video.get('url')}
|
||||
alt={video.get('description')}
|
||||
aspectRatio={video.getIn(['meta', 'small', 'aspect'])}
|
||||
aspectRatio={video.getIn(['meta', 'original', 'aspect'])}
|
||||
width={239}
|
||||
height={110}
|
||||
inline
|
||||
|
|
|
@ -115,7 +115,7 @@ export default class DetailedStatus extends ImmutablePureComponent {
|
|||
blurhash={video.get('blurhash')}
|
||||
src={video.get('url')}
|
||||
alt={video.get('description')}
|
||||
aspectRatio={video.getIn(['meta', 'small', 'aspect'])}
|
||||
aspectRatio={video.getIn(['meta', 'original', 'aspect'])}
|
||||
width={300}
|
||||
height={150}
|
||||
inline
|
||||
|
|
Loading…
Reference in a new issue