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
You can find many more fully functional code examples in our Github Repository.