谷歌伴随广告无法在 iPhone 上播放
我们有视频已连接到 Google 的互动媒体广告。一切都运行得很好,直到我们发现它无法在 iOS iPhone 设备上运行。有趣的是,如果我们切换设备工具栏并设置尺寸:iPhone(任何),即使在 macOS Google Chrome 上也无法播放。
这是我们尝试播放视频(并在点击时请求广告)后登录控制台:
Uncaught TypeError: Cannot read properties of undefined (reading 'length')
at VB.k.md (ima3.js:513:1543)
Uncaught Error: addEventListener and attachEvent are unavailable.
Uncaught TypeError: this.h.load is not a function
过了一会儿,我们收到:
errorCode: 402
errorMessage: "VAST media file loading reached a timeout of 8 seconds."
type: "adPlayError"
我已经调查了一整天,并尝试添加“playsinline”、“静音”等道具,autoplay={false},window.google.ima.settings.setDisableCustomPlaybackForIOS10Plus(true),但似乎没有任何效果。
we have video which we've connected to Google's Interactive Media Ads. It's all working splendid, until we figured out it isn't working on iOS iPhone devices. Funny thing is that it's not going to play even on macOS Google Chrome if we toggle device toolbar and set Dimensions: iPhone (any).
This is the log in console after we try to play video (and request ad on click):
Uncaught TypeError: Cannot read properties of undefined (reading 'length')
at VB.k.md (ima3.js:513:1543)
Uncaught Error: addEventListener and attachEvent are unavailable.
Uncaught TypeError: this.h.load is not a function
and after a while, we receive:
errorCode: 402
errorMessage: "VAST media file loading reached a timeout of 8 seconds."
type: "adPlayError"
I've investigated this whole day, and tried to add props such as 'playsinline', 'muted', autoplay={false}, window.google.ima.settings.setDisableCustomPlaybackForIOS10Plus(true), but nothing seems to work.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论