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

master
Thibaut Girka 4 years ago
parent 51d0e1c7b4
commit 4dab236690
  1. 2
      app/javascript/flavours/glitch/features/video/index.js

@ -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