package com.example.gsyvideoplayer.video;

import android.content.Context;
import android.util.AttributeSet;

import com.example.gsyvideoplayer.R;
import com.shuyu.gsyvideoplayer.video.StandardGSYVideoPlayer;

/**
 * 无任何控制ui的播放
 * Created by guoshuyu on 2017/8/6.
 */

public class EmptyControlVideo extends StandardGSYVideoPlayer {

    public EmptyControlVideo(Context context, Boolean fullFlag) {
        super(context, fullFlag);
    }

    public EmptyControlVideo(Context context) {
        super(context);
    }

    public EmptyControlVideo(Context context, AttributeSet attrs) {
        super(context, attrs);
    }

    @Override
    public int getLayoutId() {
        return R.layout.empty_control_video;
    }

    @Override
    protected void touchSurfaceMoveFullLogic(float absDeltaX, float absDeltaY) {
        super.touchSurfaceMoveFullLogic(absDeltaX, absDeltaY);
        //不给触摸快进，如果需要，屏蔽下方代码即可
        mChangePosition = false;

        //不给触摸音量，如果需要，屏蔽下方代码即可
        mChangeVolume = false;

        //不给触摸亮度，如果需要，屏蔽下方代码即可
        mBrightness = false;
    }
}

@@ -1067,11 +1067,120 @@
 e;%0A    %7D
+%0A%0A    @Override%0A    protected void touchDoubleUp() %7B%0A        //super.touchDoubleUp();%0A        //%E4%B8%8D%E9%9C%80%E8%A6%81%E5%8F%8C%E5%87%BB%E6%9A%82%E5%81%9C%0A    %7D
 %0A%7D%0A

Update EmptyControlVideo.java