@@ -739,6 +739,11 @@ Page({
// 插屏广告展示
interstitalPlayFn() {
+ // 视频播放中私聊和群聊才能显示插屏
+ const scene = wx.getStorageSync("scene");
+ if (scene !== 1008 && scene !== 1007) {
+ return;
+ }
// const _this = this
if (interstitialAd) {
interstitialAd
@@ -762,4 +767,3 @@ Page({
}
},
});
-