First steps
Add the JitPack repository to your root build.gradle at the end of repositories
Add the dependency to your app build.gradle
Add playerView to your view hierarchy
There are two options:- Add PlayerView to your layout xml file
- Add PlayerView programmatically
Load your content into the player
<ID> placeholders with the real identifiers for your project and content.
playerView.release() should be called after this PlayerView has been removed from the view system. No other methods may be called on this PlayerView after release.
After running the app, the player should load.
How it works
The PlayerView uses a Web Player under the hood to load the Web Player and provides a Kotlin interface which binds to the underlying JavaScript API. You can check the API compatibility between the iOS and the Web player in the compatibility settings. To understand how the underlying Web Player works, please refer to its documentation.How to configure it
The preferred way to configure the player is by logging into the BeyondWords dashboard, going to the Player tab, and changing its settings. However, you can also override properties at the app level, for example:Android SDK Github repository
Android SDK Documentation
View the Android SDK documentation in our GitHub repository