Skip to content

Commit

Permalink
Rename e arg to event in onTrackPlaybackFailure
Browse files Browse the repository at this point in the history
  • Loading branch information
danielr18 committed Feb 9, 2019
1 parent 5039e1e commit 550c0d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/core/src/PlayerContextProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -511,12 +511,12 @@ export class PlayerContextProvider extends Component {
this.media.load();
}

onTrackPlaybackFailure(e) {
onTrackPlaybackFailure(event) {
this.setState({
mediaCannotPlay: true
});
if (this.props.onTrackPlaybackFailure) {
this.props.onTrackPlaybackFailure(e);
this.props.onTrackPlaybackFailure(event);
}
}

Expand Down

0 comments on commit 550c0d5

Please sign in to comment.