mirror of
https://github.com/gosticks/dash-player.git
synced 2026-12-04 11:11:48 +00:00
Update duration using componentDidMount
This commit is contained in:
@@ -112,6 +112,10 @@ export default class DashPlayer extends Component {
|
||||
this.setSeekTo();
|
||||
}
|
||||
|
||||
componentDidMount() {
|
||||
this.updateDuration()
|
||||
}
|
||||
|
||||
render() {
|
||||
const {
|
||||
url,
|
||||
|
||||
Reference in New Issue
Block a user