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: 
anilk1797
Level 7

Can we add any node on ad screen when roku ad is playing?

I am working on roku app using scene graph component. I am using RAF to show ads before
video playing and this is working properly for me. My code is...

timestamp = CreateObject("roDateTime")
adUrl = "https://www.bowhunting.com/wp-content/themes/bowhunting/vmap.php?id=" + episode.ContentId + "&c=" + timestamp.AsSeconds().ToStr()

adIface = Roku_Ads()
adIface.setAdUrl(adUrl)
adPods = adIface.getAds()
shouldPlayContent = adIface.showAds(adPods)



I want to show a button like skip button in right-bottom corner. When user press on skip button, ad should be exit.

Is this possible to add this type of functionality when ad is playing?

Thanks
0 Kudos
4 Replies
EnTerr
Level 8

Re: Can we add any node on ad screen when roku ad is playing?

0 Kudos
TheEndless
Level 7

Re: Can we add any node on ad screen when roku ad is playing?

It's not possible if you're using RAF's video player, but technically you could implement a skip feature if you use RAF's custom ad rendering functionality.
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
0 Kudos
renojim
Level 8

Re: Can we add any node on ad screen when roku ad is playing?

Be aware that I noticed this recently in the Channel Certification Checklist, "11.14 - Ads can't be skipped by pressing the "back" button on Remote".

-JT
0 Kudos
EnTerr
Level 8

Re: Can we add any node on ad screen when roku ad is playing?

"renojim" wrote:
Be aware that I noticed this recently in the Channel Certification Checklist, "11.14 - Ads can't be skipped by pressing the "back" button on Remote".

Updating this thread for posterity - that mandate is not present anymore, https://forums.roku.com/viewtopic.php?f ... 57#p550666
0 Kudos