About this lesson

This lesson explains how to add the SceneGraph Video node to your app and link it to the content in other components. It describes how to open the video screen when content is selected, and close it when playback finishes or the back button is pressed on the Roku remote control. This lesson also includes the requirements for streaming videos on the Roku platform.

Resources

ItemDescription
Video Player sample appDownload and review the code used in this lesson to implement a Video node in a Roku app .
Sideloading Roku appsSideload and test the Video Player app created in this lesson.
Video hostingView the list content delivery networks (CDNs) and online video platforms (OVPs) that have worked with publishers to host content for their Roku apps.
Streaming specUnderstand the required file formats and encoding methods for streaming video content on Roku devices.
SceneGraph Video nodeRead how to configure the different attributes of the SceneGraph Video node, including its playback, UI, trick play, and captioning parameters.

Related

Scene node

OnKeyEvent()

ifSGNodeChildren interface

RowList node

Handing application events

Content node

Content meta data

Sideloading apps

How to watch

Play the embedded video above or go to SceneGraph: Adding the Video Player on the Roku Developers YouTube channel or access the Roku Developers channel on the Roku platform.