How to correctly add your advertisements to the channel?
That very much depends on what you are doing - but read https://sdkdocs.roku.com/display/sdkdoc … +Framework
In the simplest case it’s just a few lines of code - but can get very complicated/advanced/flexible if needed
On mine, i got pretty far.
Add this code:
PlayContentWithFullRAFIntegration(episode)
Under “screen.show” on appvideoscreen then copy FullRAFIntegration sctipt into your videoplayer channel. Replace “videoContent” with “episode” on FullRAFIntegration then replace “playVideoContent” with “SetContent” then replace all “adiface” with “RAF” then take out adiface.setURL
The ads will work but the it wont load the video
