| | |
| | | import com.lcjian.library.util.common.StringUtils; |
| | | import com.umeng.socialize.UMShareAPI; |
| | | import com.yeshi.base.entity.AccumulateRule; |
| | | import com.yeshi.base.entity.ad.AdPositionEnum; |
| | | import com.yeshi.base.entity.db.WatchHistoryTable; |
| | | import com.yeshi.base.entity.video.Follow; |
| | | import com.yeshi.base.entity.video.Play; |
| | |
| | | import com.yeshi.base.ui.BaseActivity; |
| | | import com.yeshi.base.utils.BeibeiConstant; |
| | | import com.yeshi.base.utils.RouteConstant; |
| | | import com.yeshi.base.utils.ad.AdUtil; |
| | | import com.yeshi.base.utils.http.BasicTextHttpResponseHandler; |
| | | import com.yeshi.video.R; |
| | | import com.yeshi.video.entity.PushEpisode; |
| | |
| | | |
| | | private FrameLayout fl_pptv; |
| | | private LinearLayout ll_other; |
| | | |
| | | private boolean adShown = false; |
| | | |
| | | @Override |
| | | public void onCreate(Bundle savedInstanceState) { |
| | |
| | | if (!progressDialog.isShowing()) { |
| | | progressDialog.show(); |
| | | } |
| | | getVideoDetail(this, videoInfo.getId(), videoInfo.getThirdType(), false); |
| | | getVideoDetail(this, videoInfo.getId(), videoInfo.getThirdType(), true); |
| | | } |
| | | |
| | | public void onEventMainThread(Play info) { |
| | |
| | | * 加载全屏视频广告 |
| | | */ |
| | | private void loadFullVideoAd() { |
| | | if (BeibeiConstant.ADSHOW) { |
| | | if (adShown) |
| | | return; |
| | | adShown = true; |
| | | |
| | | if (AdUtil.getAdType(getApplicationContext(), AdPositionEnum.videoDetailFullVideo) != null) { |
| | | FullVideoAdManager.getInstance().loadAd(getApplicationContext(), new FullVideoAdManager.IFullVideoAdListener() { |
| | | @Override |
| | | public void onSuccess(TTFullScreenVideoAd ad) { |