Exemple #1
0
 public void ShowAdVideo()
 {
     if (Common.noad)
     {
         return;
     }
     if (!AppVersion.appCheckHasFinished)
     {
         return;
     }
     //show 之前重新设置广告
     InitAdVideo();
     AdVideo.ShowAd();
 }
    public void AdVideoDidFail(string str)
    {
        int    type = AdConfigParser.SOURCE_TYPE_VIDEO;
        AdInfo info = AdConfig.main.GetNextPriority(type);

        if (info != null)
        {
            AdVideo.InitAd(info.source);
            AdVideo.ShowAd();
        }
        else
        {
            if (callbackFinish != null)
            {
                callbackFinish(AdType.VIDEO, AdStatus.FAIL, null);
            }
        }
    }
 public void   ShowAdVideo()
 {
     //show 之前重新设置广告
     InitAdVideo();
     AdVideo.ShowAd();
 }