We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
**什么jzvd版本 implementation 'com.google.android.exoplayer:exoplayer:2.19.0' implementation 'cn.jzvd:jiaozivideoplayer:7.7.0' **什么播放器内核
**相关log是什么 无 **demo是否有这个问题
**自己做了哪些修改
**如何操作复现
**什么安卓版本,什么机型 Android12 **截图或者视频说明情况 ` //log看到,video已经是另一个视频的数据传入了,这么操作还是播放上一个视频。 private void playerVideo(Video video,int screen){ videoId = video.getVideoId(); LogUtil.d("即将播放的videoId",videoId+""); changePlayState(video,mPosition); saveRecord(video); Jzvd.releaseAllVideos(); Jzvd.setVideoImageDisplayType(Jzvd.VIDEO_IMAGE_DISPLAY_TYPE_ADAPTER);
JZDataSource dataSource = new JZDataSource(AppContext.picUrl()+video.getUrl(), "");
// vb.jzvdStd.setUp(dataSource,screen, JZMediaIjk.class); // 自带内核在部分机型会出现(1-1004)问题 // vb.jzvdStd.setUp(dataSource,screen); // 自带内核在部分机型会出现(1-1004)问题 vb.jzvdStd.setUp(dataSource,screen, JZMediaExo.class); // 自带内核在部分机型会出现(1-1004)问题
vb.jzvdStd.posterImageView.setImageResource(R.mipmap.ic_placeholder_video); vb.jzvdStd.startVideo(); vb.jzvdStd.setVideoPlayListener(this); vb.tvVideoCount.setText(video.getTitle()+" "+video.getSort()); }
`
The text was updated successfully, but these errors were encountered:
//在以下类中 public class CustomJzvdStd extends JzvdStd {
@OverRide public void gotoNormalCompletion() { if(type == 0){ //解决方案,注释掉gobakFullscreenTime,就可以解决这个问题。具体为啥可以解决,看源代码没太理解,没找到到这个值 //的用的地方。 // gobakFullscreenTime = System.currentTimeMillis();//退出全屏 。。。 }
Sorry, something went wrong.
No branches or pull requests
**什么jzvd版本
implementation 'com.google.android.exoplayer:exoplayer:2.19.0'
implementation 'cn.jzvd:jiaozivideoplayer:7.7.0'
**什么播放器内核
**相关log是什么
无
**demo是否有这个问题
**自己做了哪些修改
**如何操作复现
**什么安卓版本,什么机型
Android12
**截图或者视频说明情况
`
//log看到,video已经是另一个视频的数据传入了,这么操作还是播放上一个视频。
private void playerVideo(Video video,int screen){
videoId = video.getVideoId();
LogUtil.d("即将播放的videoId",videoId+"");
changePlayState(video,mPosition);
saveRecord(video);
Jzvd.releaseAllVideos();
Jzvd.setVideoImageDisplayType(Jzvd.VIDEO_IMAGE_DISPLAY_TYPE_ADAPTER);
// vb.jzvdStd.setUp(dataSource,screen, JZMediaIjk.class); // 自带内核在部分机型会出现(1-1004)问题
// vb.jzvdStd.setUp(dataSource,screen); // 自带内核在部分机型会出现(1-1004)问题
vb.jzvdStd.setUp(dataSource,screen, JZMediaExo.class); // 自带内核在部分机型会出现(1-1004)问题
`
The text was updated successfully, but these errors were encountered: