提交 016d6651 编写于 作者: G guoshuyu

update demo

上级 67f153c6
package com.example.gsyvideoplayer.video;
import android.content.Context;
import android.graphics.Point;
import android.util.AttributeSet;
import android.widget.ImageView;
......@@ -75,4 +76,15 @@ public class SampleCoverVideo extends StandardGSYVideoPlayer {
sampleCoverVideo.loadCoverImage(mCoverOriginUrl, mDefaultRes);
return gsyBaseVideoPlayer;
}
@Override
public GSYBaseVideoPlayer showSmallVideo(Point size, boolean actionBar, boolean statusBar) {
//下面这里替换成你自己的强制转化
SampleCoverVideo sampleCoverVideo = (SampleCoverVideo)super.showSmallVideo(size, actionBar, statusBar);
sampleCoverVideo.mStartButton.setVisibility(GONE);
sampleCoverVideo.mStartButton = null;
return sampleCoverVideo;
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册