appid:wx4f33f070da762047
正常调用,偶现黑屏。重启小程序也能正常播放。出现时间2月04日10:38左右。似乎是过很长时间打开小程序看视频会出现首次加载不出来.如图
激励视频多例模式,代码如下:
const createAd = (params) => {
let rewardedVideoAd = null
rewardedVideoAd = wx.createRewardedVideoAd({ adUnitId: params.adId, multiton: true })
rewardedVideoAd.onLoad(() => {
console.log('onLoad event emit')
})
rewardedVideoAd.onError((err: never) => {
load && load(false)
console.log('onError event emit', err)
})
rewardedVideoAd.onClose((res: { isEnded: boolean }) => {
})
}
createAd(xx)
createAd(xx)