- Build a THEOplayer Roku SDK at https://portal.theoplayer.com.
- Setup Roku's
hello-world
sample project. - Add (and rename) your THEOplayer Roku SDK to the
hello-world
project. - Replace the code in
source/components/helloworld.xml
with this gist. - Update the value of
license
in your updatedsource/components/helloworld.xml
with your actual license value according to https://portal.theoplayer.com. - Confirm playback by deploying this project to your local Roku device.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8" ?> | |
<component name="HelloWorld" extends="Scene"> | |
<interface> | |
<function name="onPlaying"/> | |
</interface> | |
<children> | |
<ComponentLibrary id="THEOsdk" uri="pkg:/THEOplayerSDK.pkg"/> | |
<Group id="THEOplayerContainer"></Group> | |
</children> | |
<script type="text/brightscript"> |