Skip to content

Commit

Permalink
fix(FEC-9513): endless spinner when auto play is failed (#463)
Browse files Browse the repository at this point in the history
Do `updatePrePlayback(false)` on `AD_STARTED`

Solves [FEC-9513](https://kaltura.atlassian.net/browse/FEC-9513)
  • Loading branch information
yairans committed Dec 4, 2019
1 parent e7893fa commit 75dc146
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/engine-connector/engine-connector.js
Expand Up @@ -209,6 +209,7 @@ class EngineConnector extends Component {
eventManager.listen(player, player.Event.AD_STARTED, () => {
this.props.updateLoadingSpinnerState(false);
this.props.updateAdIsPlaying(true);
this.props.updatePrePlayback(false);
});

eventManager.listen(player, player.Event.AD_RESUMED, () => {
Expand Down

0 comments on commit 75dc146

Please sign in to comment.