Skip to content

Commit

Permalink
fix(FEC-12167): UI updated to live/vod only after some time (#672)
Browse files Browse the repository at this point in the history
update `isLive` on `SOURCE_SELECTED`

Solves FEC-12167
  • Loading branch information
yairans committed Apr 14, 2022
1 parent b298776 commit 3b22ffc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/engine-connector/engine-connector.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ class EngineConnector extends Component {

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

0 comments on commit 3b22ffc

Please sign in to comment.