Fix hardcoded frame rate for frame by frame video navigation in web UI (#15198)

This commit is contained in:
Eugen Rochko
2020-11-21 23:19:04 +01:00
committed by GitHub
parent 66832cbf33
commit f970e1fab6
5 changed files with 21 additions and 1 deletions

View File

@ -386,6 +386,7 @@ class FocalPointModal extends ImmutablePureComponent {
{media.get('type') === 'video' && (
<Video
preview={media.get('preview_url')}
frameRate={media.getIn(['meta', 'original', 'frame_rate'])}
blurhash={media.get('blurhash')}
src={media.get('url')}
detailed

View File

@ -64,6 +64,7 @@ export default class VideoModal extends ImmutablePureComponent {
<div className='video-modal__container'>
<Video
preview={media.get('preview_url')}
frameRate={media.getIn(['meta', 'original', 'frame_rate'])}
blurhash={media.get('blurhash')}
src={media.get('url')}
currentTime={options.startTime}