1.Introduction
VideoUtil gives you some basic information about video including video’s thumbnail.
You can get info from both the url and local file as well.
Latest Version: 1.1
Released: July 27,2020
Last Updated: June 29, 2021
Permission(s): android.permission.READ_EXTERNAL_STORAGE,android.permission.WRITE_EXTERNAL_STORAGE
2.Blocks
image296×509 15 KB
3.Documentation
- Got Thumbnail
Event raised after getting thumbnail asynchronously and returns thumbnail’s (absolute) path .
path ~ text
- Custom Metadata
Returns info from metadata for specific id
videoPath ~ text
id ~ int
Returns : text
Supported Ids: MediaMetadataRetriever.Constants 55
- Get Thumbnail
Get thumbnail path of video from source.format can be png,jpeg or webm.quality should be between 1 and 100.Use this method to get thumbnails for small video files because it works synchronously and affects main thread.
videoPath ~ text
format ~ text
quality ~ int
thumbPath ~ text (can be empty)
- Get Thumbnail Async
Works same as ‘GetThumbnail’ but asynchronously
videoPath ~ text
format ~ text
quality ~ int
thumbPath ~ text (can be empty)
- Set Image
Sets image’s picture to thumbnail asynchronously
videoPath ~ text
image ~ Image Component (can be dynamic)
4.Downloads
Aix can be downloaded from Github repo:
5.ChangeLog
ChangeLog Version 1.1
New Blocks
If enabled then thumbnail(s) will be deleted as soon as user closes application
Disabled by default
Changes
- Added
videoPath
is all methods andthumbPath
param in few methods - Fixed crash/issue
Hope it helps!
Please random thumbnail name ko fixed kar dijiye
Ek video thumbnail ka ek hi name ayega chahe kitna he bar thumbnail generate kare
Very good