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

th-downstream
Thibaut Girka 4 years ago
parent 3a6cae746e
commit 42630afabb

@ -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 () {

Loading…
Cancel
Save