Skip to content

Commit

Permalink
[PBW-3096] Don't bother with Discovery on iPhone since we never show it.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dustin Preuss committed Aug 27, 2015
1 parent 994f16c commit b5dd27c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions js/controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,14 +78,14 @@ OO.plugin("Html5Skin", function (OO, _, $, W) {

this.mb.subscribe(OO.EVENTS.WILL_PAUSE_ADS, "customerUi", _.bind(this.onWillPauseAds, this));
this.mb.subscribe(OO.EVENTS.WILL_RESUME_ADS, "customerUi", _.bind(this.onWillResumeAds, this));
if (OO.EVENTS.DISCOVERY_API) {
this.mb.subscribe(OO.EVENTS.DISCOVERY_API.RELATED_VIDEOS_FETCHED, "customerUi", _.bind(this.onRelatedVideosFetched, this));
}
}

this.mb.subscribe(OO.EVENTS.CLOSED_CAPTIONS_INFO_AVAILABLE, "customerUi", _.bind(this.onClosedCaptionsInfoAvailable, this));
this.mb.subscribe(OO.EVENTS.CLOSED_CAPTION_CUE_CHANGED, "customerUi", _.bind(this.onClosedCaptionCueChanged, this));
this.mb.subscribe(OO.EVENTS.VOLUME_CHANGED, "customerUi", _.bind(this.onVolumeChanged, this));
if (OO.EVENTS.DISCOVERY_API) {
this.mb.subscribe(OO.EVENTS.DISCOVERY_API.RELATED_VIDEOS_FETCHED, "customerUi", _.bind(this.onRelatedVideosFetched, this));
}
this.mb.subscribe(OO.EVENTS.FULLSCREEN_CHANGED, "customerUi", _.bind(this.onFullscreenChanged, this));
},

Expand Down

0 comments on commit b5dd27c

Please sign in to comment.