I need to load the thumbnail image of the video from the server. I have the path to the video that is on the server. Like I manage to load image thumbnails in image view. I have tried to do this so far.
bitmap thumbnail = thumbnail height. Make a video (trailer link, mediastore.video thumbnail.min_kind); ImgBanner.setImageBitmap (thumbnail); This blank me or else I am able to set the bitmap image.
I do not think you can generate video thumbnails by giving thumbnail manager's video link,
Two approaches which I can recommend
- The video that the server is collecting should also store the thumbnails of the video so that you Download the thumbnail image directly
- Download the video and get thumbnails from it. This approach is not right anyway.
If you are using some third-party server examples. YouTube or something else, they will have separate links for the video thumbnails.
No comments:
Post a Comment