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: 
newchannel
Roku Guru

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
Roku Guru

Re: RAF and openrokn

Any hints? 🙂
http://www.victoryNOWfilmsandtv.com
0 Kudos
EnTerr
Roku Guru

Re: RAF and openrokn

0 Kudos