In this tutorial you will learn how to add the Bitmovin Player Roku SDK to your project, set up the player license, use the player and how to configure it.
Creating your own Roku channel
In order to use our Bitmovin Roku Player you will need to have your own custom Roku channel. Check out Rokus Development Overview to get started. There is also a Hello World example available which can be used for this guide.
Once you have your own channel in place you can follow the steps below to add the Bitmovin Roku player to it.
Add the Bitmovin License Key to your channels manifest.
Alternatively, you can add the license key to your player config later on. More on the player config down below.
Also check out our FAQ here to learn how to allowlist your Roku channel.
Add the player SDK to your project using a component library
Start the download of the component library by adding it to your scene and check for the download being finished by observing the
Add the player to your project directly
Alternatively, the player SDK can be downloaded and added to your
components folder directly.
Create the player
Once the download of the library is complete you can create an instance of the player.
Create a player config
Create a player config to configure the player to your needs.
For additional information as well as a list of all available parameters for the player config take a look at the setup method in our documentation.
Configure the player
Pass the created player config to the player using the
Create Source config
Create a source config consisting of at least a stream url with the corresponding format and a title to be passed to the player.
For additional information as well as a list of all available parameters for the source config take a look at the load method in our documentation.
Load the source config
Load the created source config into the player using the
Now that you have learned how to add the player to your project, configure and use it you can start having a look at the API Reference and adapt the player to your needs.
Also check out our Example Repository where you can find a full example of what has been shown here.
You can find many more fully functional code examples in our Github Repository.