Skip to content

Commit

Permalink
fix(FEC-10281): chromecast does not work after playing it once and tr…
Browse files Browse the repository at this point in the history
…ying it on another video (#582)
  • Loading branch information
Dan Ziv committed Mar 14, 2021
1 parent 27c7f62 commit a377d60
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 @@ -41,6 +41,7 @@ class EngineConnector extends Component {
});

eventManager.listen(player, player.Event.SOURCE_SELECTED, () => {
this.props.updateIsCastAvailable(player.isCastAvailable());
this.props.updateIsVr(player.isVr());
this.props.updateIsInPictureInPicture(player.isInPictureInPicture());
if (player.config.playback.autoplay) {
Expand Down

0 comments on commit a377d60

Please sign in to comment.