This repository contains three reference applications utilizing the THEOplayer Roku SDK. The THEOplayer Roku SDK is a custom component allowing channel developers to easily embed THEOplayer in a channel.
Note: developers still need to manually add their THEOplayer SDK, and configure their license string, as explained throughout the various README.md files.
Table of contents:
basic-playback-app: this directory contains the reference application for basic playback.verizon-app: this directory contains the reference application for Verizon-based streams. This application also contains a basic showcase of features related to the Verizon Media Platform. NOTE: this is only for Roku SDK earlier than 9.0.reference-test-app: this directory contains the reference application for testing with the THEOplayer SDK and THEOConvivaConnector. This application also has multiple media sources to play.hello-world: this directory contains a modified version of Roku'shello-worldsample channel. This sample channel is related to our official getting started guide on the THEOplayer Roku SDK.README.md: this file is available in the root folder.
- Open the relevant folder in an editor. (e.g. VS Code/Atom/Visual Studio/Eclipse with Roku and/or BrightScript plugins)
- Have a Roku device with developer mode turned on.
- Clone (or download) the repository.
- Get the THEOplayer Roku SDK from https://portal.theoplayer.com. The SDK is a
.pkgpackage. - Place the downloaded package into
verizon-app/components/orbasic-playback-app/components/and rename it toTHEOplayerSDK.pkg. - Paste the THEOplayer license in the chosen reference application files instead of the blank string:
m.player.callFunc("configure", { license: "" })
Documentation on how to deploy (or publish) this reference application is excluded. Refer to Roku's article on "Developer environment setup" for more information.