Updated Video component added aspect ratio for sizing

This commit is contained in:
mgabdev
2019-08-23 00:03:17 -04:00
parent 9b1f13487f
commit 449dd24b7f
4 changed files with 16 additions and 3 deletions

View File

@@ -111,6 +111,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'])}
width={300}
height={150}
inline