Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
uxicorp
Visitor

How to use code from RokuadFrameworkSample.zip?

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
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.