The purpose of this app is to demonstrate how a configurable ads app with Google IMA can be made with THEOplayer.
For quick start, please proceed with the Quick Start guide.
This app is an extension of THEO Basic Playback application. For help with getting started with THEOplayer or Android Studio feel free to check THEOplayer documentation
To use THEOplayer from a library downloaded from THEO Portal, follow these steps:
-
Obtain THEOplayer Android SDK and unzip it.
Please visit THEOplayer documentation to get required THEOplayer Android SDK.
-
Copy
theoplayer-android-[name]-[version]-minapi21-release.aar
file from unzipped SDK into application libs folder and rename it totheoplayer.aar
.Project is configured to load SDK with such name, for using other name please change
implementation ':theoplayer@aar'
dependency in app-level build.gradle file accordingly. -
Open THEO Custom Ads application in Android Studio.
Android Studio should automatically synchronize and rebuild project. If this won't happen please select File > Sync Project with Gradle Files menu item to do it manually. Please note, that in very rare cases it will be required to synchronize project twice.
-
Select Run > Run 'app' menu item to run application on a device selected by default.
The DRM streams used in this app (if any) are provided by our Partner: EZ DRM and hold all the rights for the content. These streams are DRM protected and cannot be used for any other purposes.
This project is licensed under the BSD 3 Clause License - see the LICENSE file for details.