Skip to content

THEOplayer/samples-roku-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

samples-roku-sdk

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:

  1. Directory structure
  2. Setup guide
  3. How to configure a reference app

Directory structure

  • 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's hello-world sample 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.

Setup guide

  1. Open the relevant folder in an editor. (e.g. VS Code/Atom/Visual Studio/Eclipse with Roku and/or BrightScript plugins)
  2. Have a Roku device with developer mode turned on.

How to configure a reference app

  1. Clone (or download) the repository.
  2. Get the THEOplayer Roku SDK from https://portal.theoplayer.com. The SDK is a .pkg package.
  3. Place the downloaded package into verizon-app/components/ or basic-playback-app/components/ and rename it to THEOplayerSDK.pkg.
  4. 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.

About

The Roku SDK Repo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5