Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Level 7

How to use code from

This sample code includes main.brs and a subdirectory called common with 3 more files.

I want to integrate the sample code with video player example from the SDK.

Do I:

A. copy main.brs + common directory to source directory of videoplayer?
B. somehow merge the code from main.brs with appMain.brs?
C. Delete appMain.brs and renama main.brs to appMain.brs?

Sorry but the documentation for novices is terrible. Just looking for the shortest path to hack something together...

BTW if the answer is B, how should the code be merged together?
0 Kudos