PlayerDomain domain = new PlayerDomain(DOMAIN);
boolean showPromoImage = this.showPromoImageButton.isChecked();
boolean preload = this.preloadButton.isChecked();
DebugMode.logD(TAG, "showPromoImage: " + showPromoImage
+ " preload: " + preload);
<BUG>Options options = new Options.Builder().setPreloadContent(preload).setShowPromoImage(showPromoImage).build();
</BUG>
player = new OoyalaPlayer(PCODE, domain, options);
playerLayoutController = new OptimizedOoyalaPlayerLayoutController(playerLayout, player);
player.addObserver(this);

PlayerDomain domain = new PlayerDomain(DOMAIN);
boolean showPromoImage = this.showPromoImageButton.isChecked();
boolean preload = this.preloadButton.isChecked();
DebugMode.logD(TAG, "showPromoImage: " + showPromoImage
+ " preload: " + preload);
Options options = new Options.Builder().setPreloadContent(preload).setShowPromoImage(showPromoImage).setUseExoPlayer(true).build();
player = new OoyalaPlayer(PCODE, domain, options);
playerLayoutController = new OptimizedOoyalaPlayerLayoutController(playerLayout, player);
player.addObserver(this);
