Skip to content

Commit

Permalink
fix(FEC-8509): ima-enablePreloading causes the player spinning before…
Browse files Browse the repository at this point in the history
… the mid-roll (#397)

Do not show the spinner on `AD_LOADED`
Enables **FEC-9159**
  • Loading branch information
yairans committed Jul 19, 2019
1 parent b7c6618 commit 394f888
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/components/loading/loading.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,6 @@ class Loading extends BaseComponent {
this.props.updateLoadingSpinnerState(true);
});

this.eventManager.listen(this.player, this.player.Event.AD_LOADED, () => {
this.props.updateLoadingSpinnerState(true);
});

this.eventManager.listen(this.player, this.player.Event.AD_STARTED, () => {
if (this.props.adIsLinear) {
this.props.updateLoadingSpinnerState(false);
Expand Down

0 comments on commit 394f888

Please sign in to comment.