Reduce discrepancies with upstream in Video component (#3018)

This commit is contained in:
Claire
2025-03-28 20:48:06 +01:00
committed by GitHub
parent 51a8c6c3f7
commit d924335d78
3 changed files with 84 additions and 93 deletions

View File

@@ -602,6 +602,7 @@ class Status extends ImmutablePureComponent {
{Component => (<Component
preview={attachment.get('preview_url')}
frameRate={attachment.getIn(['meta', 'original', 'frame_rate'])}
aspectRatio={`${attachment.getIn(['meta', 'original', 'width'])} / ${attachment.getIn(['meta', 'original', 'height'])}`}
blurhash={attachment.get('blurhash')}
src={attachment.get('url')}
alt={description}