VideoUtil: Get some information from video (Url/local)

Will not receive any future updates

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: 2020-07-26T18:30:00Z
Last Updated: 2021-06-28T18:30:00Z
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 .
    image
    path ~ text
  • 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.
    image
    videoPath ~ text
    format ~ text
    quality ~ int
    thumbPath ~ text (can be empty)
  • Get Thumbnail Async
    Works same as ‘GetThumbnail’ but asynchronously
    image
    videoPath ~ text
    format ~ text
    quality ~ int
    thumbPath ~ text (can be empty)
  • Set Image
    Sets image’s picture to thumbnail asynchronously
    image
    videoPath ~ text
    image ~ Image Component (can be dynamic)

4.Dowloads

Aix can be downloaded from Github repo:

5.Credits

Thanks to @dreemincome for the idea :heart_eyes:
A lot of thanks to Kodular for this platform :heart:

6.ChangeLog

ChangeLog Version 1.1

New Blocks
image
If enabled then thumbnail(s) will be deleted as soon as user closes application
Disabled by default

Changes

  • Added videoPath is all methods and thumbPath param in few methods
  • Fixed crash/issue

Hope it helps! :smiley:

32 Likes

nice Extensions its free

1 Like

New great extension by @vknow360
Awesome job…

2 Likes

One more great extension.

2 Likes


How to work it

Thanks so much !!! Another great extension :clap: :clap: :clap:

1 Like

Another amzing extension :heart_eyes:

1 Like

Custom Metadata means ??
Can it give the title of the video url, For example for youtube video url ??

1 Like

I am fan of your extension. Always waiting for your next extensions :heart_eyes:

Nice Work! :+1:

1 Like

You can’t use it with YouTube url or any videos platform.
It only works with direct media links
For eg : https://www.abc.xyz.com/hello.mp4

1 Like

Can I use this for creating listview. Like YouTube RecyclerView Gets Videos Thumbnail in milliseconds (depends on Internet connection).

I never tried it you can try it.

Yes that will work.

Information attached with media file in key-value format.
You should check the link given below that block’s documentation.

Only if link is direct media link like cloudinary gives.

Thank you everyone.

I want duration of video from cloudinary link. Can i use 9 as id for it?

Why not try this

Ok got it. Can we use it in dynamic components extention?

Idk

Yes you can.
But in this case I would suggest you to use SetImage method.

1 Like

how to get thumbnail in list view ?
And it’s block not working?