Roku Developer Program

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

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
newchannel
Level 7

Re: RAF and openrokn

Any hints? Smiley Happy
http://www.victoryNOWfilmsandtv.com
0 Kudos
EnTerr
Level 8

Re: RAF and openrokn

0 Kudos