Commit f4d405dd authored by liuxinjun's avatar liuxinjun

添加多视频广告id以及分享与视频切换bug

parent da4a1824
...@@ -170,7 +170,6 @@ var adSdk = { ...@@ -170,7 +170,6 @@ var adSdk = {
* //视频失败处理逻辑 * //视频失败处理逻辑
* this.failFunction();` * this.failFunction();`
* }; * };
* 特别注意:下面这个videoAd为全局变量
* var videoAd1 = adSdk.createRewardedVideoAd(videoAdUnitId1); * var videoAd1 = adSdk.createRewardedVideoAd(videoAdUnitId1);
* videoAd1.load().then(() => videoAd1.show()); * videoAd1.load().then(() => videoAd1.show());
* *
...@@ -226,7 +225,6 @@ var adSdk = { ...@@ -226,7 +225,6 @@ var adSdk = {
* //视频失败处理逻辑 * //视频失败处理逻辑
* this.failFunction();` * this.failFunction();`
* }; * };
* 特别注意:下面这个videoAd为全局变量
* var videoAd2 = adSdk.createRewardedVideoAd(videoAdUnitId2); * var videoAd2 = adSdk.createRewardedVideoAd(videoAdUnitId2);
* videoAd2.load().then(() => videoAd2.show()); * videoAd2.load().then(() => videoAd2.show());
* *
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment