Skip to content

Commit

Permalink
fix(FEC-8747): no play button when auto play failed (#311)
Browse files Browse the repository at this point in the history
update `prePlayback: true` on `AUTOPLAY_FAILED` event
  • Loading branch information
yairans authored and OrenMe committed Dec 4, 2018
1 parent cd1f115 commit 1169540
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ class PrePlaybackPlayOverlay extends BaseComponent {
this.props.updatePrePlayback(true);
} else {
this.eventManager.listen(this.player, this.player.Event.AUTOPLAY_FAILED, () => {
this.props.updatePrePlayback(true);
this.autoplay = false;
this.forceUpdate();
});
Expand Down

0 comments on commit 1169540

Please sign in to comment.