|
|
@@ -1,12 +1,11 @@
|
|
|
package com.sheep.gamegroup.view.activity;
|
|
|
|
|
|
import android.annotation.SuppressLint;
|
|
|
-import android.content.Context;
|
|
|
import android.content.Intent;
|
|
|
-import android.media.AudioManager;
|
|
|
import android.media.MediaPlayer;
|
|
|
import android.net.Uri;
|
|
|
import android.os.Bundle;
|
|
|
+import android.provider.MediaStore;
|
|
|
import android.support.annotation.Nullable;
|
|
|
import android.support.design.widget.CheckableImageButton;
|
|
|
import android.support.v7.widget.AppCompatCheckedTextView;
|
|
|
@@ -14,7 +13,6 @@ import android.text.TextUtils;
|
|
|
import android.view.GestureDetector;
|
|
|
import android.view.MotionEvent;
|
|
|
import android.view.View;
|
|
|
-import android.view.WindowManager;
|
|
|
import android.widget.ImageView;
|
|
|
import android.widget.TextView;
|
|
|
import android.widget.VideoView;
|
|
|
@@ -215,6 +213,10 @@ public class ActVideoDetail extends BaseUMActivity implements MediaPlayer.OnInfo
|
|
|
ApiUtil.postVideoShare(video_id);
|
|
|
}
|
|
|
|
|
|
+ //点击发布发现内容
|
|
|
+ public void onClickAddVideo(View view) {
|
|
|
+ Jump2View.getInstance().gotoActPublishArticle(MediaStore.Files.FileColumns.MEDIA_TYPE_VIDEO);
|
|
|
+ }
|
|
|
//点击头像跳转用户游戏主页
|
|
|
public void onClickAvatar(View view) {
|
|
|
if (user_id > 0)
|