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
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
- 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.Dowloads
Hope it helps!