onLoad: function(options) {
if (wx.createRewardedVideoAd) {
rewardedVideoAd = wx.createRewardedVideoAd({ adUnitId: 'adunit-5216875549a7fe22'})
rewardedVideoAd.onLoad(() => {
console.log('onLoad event emit')
})
rewardedVideoAd.onError((err) => {
console.log('onError event emit', err)
})
rewardedVideoAd.onClose((res) => {
console.log('onClose event emit', res)
})
} }
iphone6下视频对象为wx.createRewardedVideoAd方法为空
微信版本6.7.2太低了,更新下微信版本试试看