Default to 25 fps for frame seeking if framerate information isn't known

This commit is contained in:
Thibaut Girka 2020-11-25 15:47:23 +01:00
parent 51d0e1c7b4
commit 4dab236690
1 changed files with 1 additions and 1 deletions

View File

@ -544,7 +544,7 @@ class Video extends React.PureComponent {
return this.props.frameRate.split('/').reduce((p, c) => p / c);
}
return this.props.frameRate;
return this.props.frameRate || 25;
}
render () {