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()
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?