|
|
@@ -191,11 +191,17 @@ public class ActVideoDetail extends BaseUMActivity implements MediaPlayer.OnInfo
|
|
|
|
|
|
//分享
|
|
|
public void onClickVideoShare(View view) {
|
|
|
+ if(newVideo == null){
|
|
|
+ G.showToast(R.string.loading_data);
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ if(newVideo.isInAudit()){
|
|
|
+ G.showToast("视频审核中");
|
|
|
+ return;
|
|
|
+ }
|
|
|
if (shareLinkConfig == null)
|
|
|
shareLinkConfig = new ShareLinkConfig();
|
|
|
- if (newVideo != null) {
|
|
|
- shareLinkConfig.setDes(newVideo.getTitle());
|
|
|
- }
|
|
|
+ shareLinkConfig.setDes(newVideo.getTitle());
|
|
|
shareLinkConfig.setShareType(ShareLinkConfig.ALL).toShare(this);
|
|
|
}
|
|
|
@Override
|