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.
Artwork passed to setDefaultArtwork is only displayed when the player is connected to the view and prepared (and if the prepared media doesn't contain any artwork of its own).
I'll mark this as an enhancement to provide an option for the default artwork to also be displayed when there's no player and when the player is not prepared.
ty
I'll mark this as an enhancement to provide an option for the default artwork to also be displayed when there's no player and when the player is not prepared.
any updates?
This should be prioritized...
Most helpful comment
Artwork passed to
setDefaultArtworkis only displayed when the player is connected to the view and prepared (and if the prepared media doesn't contain any artwork of its own).I'll mark this as an enhancement to provide an option for the default artwork to also be displayed when there's no player and when the player is not prepared.