Skip to content

Commit

Permalink
fix(FEC-8651): picture in picture icon is missing in safari (#289)
Browse files Browse the repository at this point in the history
  • Loading branch information
odedhutzler committed Nov 6, 2018
1 parent 15b50c7 commit 136c20c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/engine-connector/engine-connector.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ class EngineConnector extends BaseComponent {

this.eventManager.listen(this.player, this.player.Event.LOADED_DATA, () => {
this.props.updateDuration(this.player.duration);
this.props.updatePictureInPictureSupport(this.player.isPictureInPictureSupported());
});

this.eventManager.listen(this.player, this.player.Event.LOADED_METADATA, () => {
Expand All @@ -91,7 +92,6 @@ class EngineConnector extends BaseComponent {
this.props.updateIsLive(this.player.isLive());
this.props.updateIsDvr(this.player.isDvr());
this.props.updatePlayerPoster(this.player.poster);
this.props.updatePictureInPictureSupport(this.player.isPictureInPictureSupported());
});

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

0 comments on commit 136c20c

Please sign in to comment.