opt video
This commit is contained in:
@@ -94,6 +94,7 @@ import com.mogo.service.module.IMogoRegisterCenter;
|
||||
import com.mogo.service.statusmanager.IMogoStatusManager;
|
||||
import com.mogo.utils.TipToast;
|
||||
import com.mogo.utils.logger.Logger;
|
||||
import com.shuyu.gsyvideoplayer.GSYVideoManager;
|
||||
import com.shuyu.gsyvideoplayer.builder.GSYVideoOptionBuilder;
|
||||
|
||||
import org.greenrobot.eventbus.EventBus;
|
||||
@@ -675,7 +676,7 @@ import static com.mogo.module.tanlu.video.VideoInitKt.initVideo;
|
||||
.build(simpleCoverVideoPlayer);
|
||||
simpleCoverVideoPlayer.getStartButton().performClick();
|
||||
traceVideoPlayStatusData();
|
||||
|
||||
Log.d(TAG, "videoUrl = " + videoUrl);
|
||||
if (mImageUrl == null) {
|
||||
return;
|
||||
}
|
||||
@@ -714,12 +715,10 @@ import static com.mogo.module.tanlu.video.VideoInitKt.initVideo;
|
||||
mogoImageloader.downloadImage(getActivity(), thumbnailUrl, new IMogoImageLoaderListener() {
|
||||
@Override
|
||||
public void onStart() {
|
||||
Log.d(TAG, "onStart ------>");
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onCompleted(Bitmap bitmap) {
|
||||
Log.d(TAG, "onCompleted ------>bitmap = " + bitmap);
|
||||
autoZoomInImageView.setImageBitmap(bitmap);
|
||||
//动画
|
||||
// handleImageAnimation();
|
||||
@@ -927,6 +926,8 @@ import static com.mogo.module.tanlu.video.VideoInitKt.initVideo;
|
||||
TanluServiceHandler.getLocationClient().removeLocationListener(this);
|
||||
mMogoRegisterCenter.unregisterMogoNaviListener(TanluConstants.MODEL_NAME);
|
||||
mogoIntentManager.unregisterIntentListener(MogoReceiver.ACTIION_ADAS);
|
||||
Log.e(TAG, "onDestroyView --------> ");
|
||||
GSYVideoManager.releaseAllVideos();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user