LuckSiege / LuckSiege/PictureSelector
预览网络视频,播放暂停按钮不显示,播放本地视频没问题
- Dominant language
- Java
- Stars
- 13.6k
- Forks
- 3.1k
- PR merge metrics
- No merged PRs in 30d
Description
Current use version?
当前使用的版本是多少?
v3.11.2
Will this problem occur in demo?
Demo能否复现这问题?
能
Describe the problem or provide an error log?
描述问题或提供错误log?
openPreview预览的时候,如果传入网络视频地址,刚开始播放按钮是显示的,但是中间播放暂停和复播的时候按钮不显示。播放本地视频没问题。
LocalMedia localMedia = new LocalMedia();
localMedia.setPath("https://jh-filemock.mgpay.cn/2025/05/10/180616bjvhjb83nv594lnmr9gnm4dr3b382406.mp4");
localMedia.setMimeType(PictureMimeType.MIME_TYPE_VIDEO);
ArrayList arrayList = new ArrayList<>();
arrayList.add(localMedia);
PictureSelector.create(MainActivity.this)
.openPreview()
.setImageEngine(GlideEngine.createGlideEngine())
.isVideoPauseResumePlay(true)
.startActivityPreview(0, false, arrayList);
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the openPreview flow in the provided PictureSelector usage, focusing on isVideoPauseResumePlay(true) and the difference between the network MP4 URL and local video playback. Reproduce the pause and resume behavior using version v3.11.2 and confirm that the playback controls remain visible for network videos as they do for local videos.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100