Roku Developer Program

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

RAF and openrokn

I am trying to add RAF to the openrokn.brs file. Has anyone gotten this working yet?

Does this go at the top of the brs file:
Library "Roku_Ads.brs"

Does it matter where in the brs file the following items are placed within the code?

adIface = Roku_Ads()

adIface.setAdUrl(myAdUrl)

adPods = adIface.getAds()

shouldPlayContent = adIface.showAds(adPods)

I was going to add it after the playvideocontent line but it's coded differently so I need some guidance.

I'd appreciate any and all help.

Thanks a ton.
http://www.victoryNOWfilmsandtv.com
0 Kudos
2 REPLIES 2
newchannel
Level 10

Re: RAF and openrokn

Any hints? 🙂
http://www.victoryNOWfilmsandtv.com
0 Kudos
EnTerr
Level 11

Re: RAF and openrokn

0 Kudos