Show initial broadcast position in seekbar (#9796)
This commit is contained in:
parent
e9224f6fce
commit
b07bd4d102
3 changed files with 40 additions and 13 deletions
|
@ -60,7 +60,7 @@ export default class SeekBar extends React.PureComponent<IProps, IState> {
|
|||
super(props);
|
||||
|
||||
this.state = {
|
||||
percentage: 0,
|
||||
percentage: percentageOf(this.props.playback.timeSeconds, 0, this.props.playback.durationSeconds),
|
||||
};
|
||||
|
||||
// We don't need to de-register: the class handles this for us internally
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue