Default to 25 fps for frame seeking if framerate information isn't known
This commit is contained in:
1 parent
51d0e1c7b4
commit
4dab236690
1 file changed
+1
-1
@@ -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 () {
|
||||
|
||||
Reference in new issue
Block a user