path
This commit is contained in:
@@ -78,7 +78,7 @@ public class V2XRoadVideoWindow extends RelativeLayout implements IV2XWindow, ID
|
||||
|
||||
mVideoView.setOnCompletionListener(mediaPlayer -> {
|
||||
Logger.w(MODULE_NAME, "视频播放结束...");
|
||||
videoPlayEnd();
|
||||
videoPlayEnd(path);
|
||||
});
|
||||
|
||||
}
|
||||
@@ -103,7 +103,7 @@ public class V2XRoadVideoWindow extends RelativeLayout implements IV2XWindow, ID
|
||||
/*
|
||||
* 视频播放结束
|
||||
* */
|
||||
private void videoPlayEnd(){
|
||||
private void videoPlayEnd(String path){
|
||||
Bitmap bitmap = BitmapHelper.getVideoThumbnail(path);
|
||||
mThumbnailImageView.setVisibility(View.VISIBLE);
|
||||
mThumbnailImageView.setImageBitmap(bitmap);
|
||||
|
||||
Reference in New Issue
Block a user