Merge pull request #9732 from lfzawacki/v2.2.x-release
Call onmount for custom arc-player
This commit is contained in:
commit
38e12d2bfc
@ -62,6 +62,10 @@ export class ArcPlayer extends Component {
|
||||
this.onStateChange = this.onStateChange.bind(this);
|
||||
}
|
||||
|
||||
componentDidMount () {
|
||||
this.props.onMount && this.props.onMount(this)
|
||||
}
|
||||
|
||||
load() {
|
||||
new Promise((resolve, reject) => {
|
||||
this.render();
|
||||
|
Loading…
Reference in New Issue
Block a user