LuckSiege / LuckSiege/PictureSelector

选择图片没问题,选择视频时视频没有封面图、选中视频不回调

Open
#2,966 0 comments 0 reactions 0 assignees View on GitHub

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?
#### 当前使用的版本是多少?
implementation 'io.github.lucksiege:pictureselector:v3.11.2'
```

```

## Will this problem occur in demo?
#### Demo能否复现这问题?

```

```

## Describe the problem or provide an error log?
#### 描述问题或提供错误log?

```

```
华为mate20
private void slelectVideo() {
PictureSelector.create(getContext())
.openGallery(SelectMimeType.ofVideo())//全部.PictureMimeType.ofAll()、图片.ofImage()、视频.ofVideo()、音频.ofAudio()
.setMaxSelectNum(1)// 最大图片选择数量 int
.setImageSpanCount(3)// 每行显示个数 int
.setImageEngine(GlideEngine.createGlideEngine())
.setSelectionMode(SelectModeConfig.SINGLE)// 多选 or 单选 PictureConfig.MULTIPLE or PictureConfig.SINGLE
.forResult(new OnResultCallbackListener() {
@Override
public void onResult(ArrayList addMedialList) {
String path = addMedialList.get(0).getRealPath();
}

@Override
public void onCancel() {

}
});
}

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the shown selectVideo flow with PictureSelector v3.11.2 on a Huawei Mate20, comparing video selection with image selection. Investigate why video thumbnails lack cover images and why OnResultCallbackListener is not called; done when a selected video displays a cover and returns its LocalMedia result.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.