google / google/ExoPlayer

PlayerView: Provide option to show default artwork when no prepared player is attached

Open
#6,265 16 comments 9 reactions 1 assignee Assigned to @icbaker View on GitHub
enhancement
Dominant language
Java
Stars
21.9k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

hi
I wanna show a preview bitmap of a video in exoplayer.i have the bitmap and I use
```
playerview.setUseArtwork(true);
playerview.setDefaultArtwork(bitmap);
```
but it doesn't work.
***i havent write any code to connect playerview to exoplayer.
I used an image view to show the preview and then hide it but it wasn't good.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.