Default to 25 fps for frame seeking if framerate information isn't known
This commit is contained in:
parent
51d0e1c7b4
commit
4dab236690
|
@ -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…
Reference in New Issue