Fix missing frameRate

This commit is contained in:
noellabo 2021-01-04 09:45:37 +09:00
parent 12eb1915b8
commit d93ab2a4d0
2 changed files with 2 additions and 0 deletions

View file

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

View file

@ -199,6 +199,7 @@ class DetailedStatus extends ImmutablePureComponent {
quote_media = (
<Video
preview={attachment.get('preview_url')}
frameRate={attachment.getIn(['meta', 'original', 'frame_rate'])}
blurhash={attachment.get('blurhash')}
src={attachment.get('url')}
alt={attachment.get('description')}