diff --git a/AdvancedPlaybackSampleApp/app/src/main/AndroidManifest.xml b/AdvancedPlaybackSampleApp/app/src/main/AndroidManifest.xml index 4df64223c..51db2a582 100644 --- a/AdvancedPlaybackSampleApp/app/src/main/AndroidManifest.xml +++ b/AdvancedPlaybackSampleApp/app/src/main/AndroidManifest.xml @@ -13,7 +13,8 @@ android:allowBackup="true" android:icon="@drawable/ic_launcher" android:label="@string/app_name" - android:theme="@style/Theme.AppCompat"> + android:theme="@style/Theme.AppCompat" + android:usesCleartextTraffic="true"> + android:theme="@style/Theme.AppCompat" + android:usesCleartextTraffic="true"> + + diff --git a/CompleteSampleApp/app/src/main/java/com/ooyala/sample/players/InsertAdPlayerActivity.java b/CompleteSampleApp/app/src/main/java/com/ooyala/sample/players/InsertAdPlayerActivity.java index 274e9d6b5..96caf1cb5 100644 --- a/CompleteSampleApp/app/src/main/java/com/ooyala/sample/players/InsertAdPlayerActivity.java +++ b/CompleteSampleApp/app/src/main/java/com/ooyala/sample/players/InsertAdPlayerActivity.java @@ -46,6 +46,7 @@ void completePlayerSetup(boolean asked) { Options options = new Options.Builder().setUseExoPlayer(true).build(); player = new OoyalaPlayer(PCODE, new PlayerDomain(DOMAIN), options); playerLayoutController = new OoyalaPlayerLayoutController(playerLayout, player); + player.enableSSL(false); player.addObserver(this); // Set up performance monitoring to watch standard events and ads events. diff --git a/CompleteSampleApp/app/src/main/java/com/ooyala/sample/utils/AbstractDefaultOoyalaPlayerControls.java b/CompleteSampleApp/app/src/main/java/com/ooyala/sample/utils/AbstractDefaultOoyalaPlayerControls.java index 92d6d482e..deac5cd38 100644 --- a/CompleteSampleApp/app/src/main/java/com/ooyala/sample/utils/AbstractDefaultOoyalaPlayerControls.java +++ b/CompleteSampleApp/app/src/main/java/com/ooyala/sample/utils/AbstractDefaultOoyalaPlayerControls.java @@ -226,6 +226,11 @@ public void setVisible(boolean visible) { } } + @Override + public void refresh() { + + } + protected abstract void updateButtonStates(); protected abstract void setupControls(); diff --git a/CompleteSampleApp/app/src/main/java/com/ooyala/sample/utils/CustomOverlay.java b/CompleteSampleApp/app/src/main/java/com/ooyala/sample/utils/CustomOverlay.java index c61e4b53a..306815fde 100644 --- a/CompleteSampleApp/app/src/main/java/com/ooyala/sample/utils/CustomOverlay.java +++ b/CompleteSampleApp/app/src/main/java/com/ooyala/sample/utils/CustomOverlay.java @@ -90,6 +90,11 @@ public void setVisible(boolean b) { } + @Override + public void refresh() { + + } + @Override public void update(Observable observable, Object o) {