LuckSiege / LuckSiege/PictureSelector
预览视频变成预览图片
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 13.6k
- Forks
- 3.1k
- PR merge metrics
- No merged PRs in 30d
Description
## Current use version?
#### 当前使用的版本是多少?
```
v3.10.5
```
## Will this problem occur in demo?
#### Demo能否复现这问题?
```
能
```
## Describe the problem or provide an error log?
#### 描述问题或提供错误log?
```
val showImgList: ArrayList = ArrayList()
val media = LocalMedia()
media.path = this // this就是网络视频地址 , https 开头的,阿里云链接视频可直接播放
showImgList.add(media)
PictureSelector.create(activity)
.openPreview()
.setImageEngine(GlideEngine.createGlideEngine())
.isAutoVideoPlay(true)
.isLoopAutoVideoPlay(true)
.isVideoPauseResumePlay(true)
.startActivityPreview(0, false, showImgList)
本来是预览视频的,为啥点开变成了预览图片?
```
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the example with PictureSelector.create(activity).openPreview() and startActivityPreview using the HTTPS video URL in LocalMedia.path. Trace how the preview classifies that media, then verify that the same input opens and plays as a video rather than rendering as an image.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100