diff --git a/src/players/FilePlayer.js b/src/players/FilePlayer.js index d8d5274b..eb3bf09e 100644 --- a/src/players/FilePlayer.js +++ b/src/players/FilePlayer.js @@ -17,6 +17,7 @@ export default class FilePlayer extends Base { this.player.onpause = this.props.onPause this.player.onended = this.props.onEnded this.player.onerror = this.props.onError + super.componentDidMount() } load (url) { this.player.src = url