【发布时间】:2016-08-25 00:29:10
【问题描述】:
我正在使用场景图组件开发 roku 应用程序。我之前使用 RAF 展示广告 视频播放,这对我来说工作正常。我的代码是...
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)
我想在右下角显示一个类似 skip button 的按钮。当用户按下跳过按钮时,广告应该退出。
是否可以在播放广告时添加此类功能?
谢谢
【问题讨论】:
标签: android ads roku brightscript