Forum Discussion

anilk1797's avatar
anilk1797
Visitor
9 years ago

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

4 Replies