Skip to content

Instantly share code, notes, and snippets.

@thijsl
thijsl / Quickstart.md
Created February 9, 2021 20:58
THEOplayer Roku SDK: Quickstart guide
  1. Build a THEOplayer Roku SDK at https://portal.theoplayer.com.
  2. Setup Roku's hello-world sample project.
  3. Add (and rename) your THEOplayer Roku SDK to the hello-world project.
  4. Replace the code in source/components/helloworld.xml with this gist.
  5. Update the value of license in your updated source/components/helloworld.xml with your actual license value according to https://portal.theoplayer.com.
  6. Confirm playback by deploying this project to your local Roku device.
@thijsl
thijsl / helloworld.xml
Created February 9, 2021 20:34
THEOplayer Roku SDK: helloworld.xml template
<?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">