1

我正在为 VideoJS 开发一个自定义主题,我正在使用 Google IMA HTML5 SDK API 来显示视频广告(预贴片)

有没有办法在用户点击“跳过广告”之前获得剩余时间(例如,它在标签中的相同时间倒计时按钮“跳过广告”启用之前的时间)

有所有这些属性/方法

  • player.ima3.adsManager.getAdSkippableState()
  • player.ima3.adsManager.getCurrentAd() 允许 currentAd.isSkippable()

但我找不到可以让剩余时间跳过广告的东西

4

1 回答 1

0

目前无法获得skipoffset时间

“目前,跳过按钮无法隐藏。另外,您无法通过 API 方法获取线性跳过偏移时间。我们确实有获取偏移量的 API 方法,但它适用于整个广告 pod”

https://groups.google.com/forum/#!topic/ima-sdk/VtdLy_b9J_w

于 2016-03-09T19:18:49.420 回答