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

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

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

0 Kudos
TheEndless
Channel Surfer

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
Community Streaming Expert

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
Roku Community Streaming Expert

Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.

I am not a Roku employee.
0 Kudos
EnTerr
Roku Guru

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
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.