Can i get video length natively?

Is there a relatively easy way to pull duration from an uploaded video? Looking to display it in minutes:

Duration: 14 min

I am not aware of a built-in bubble method to get this information. Bubble uses Amazon S3 storage and S3 should support media metadata information via the HeadObject API. I do not believe there is a way that a bubble user can query this directly.

You can create a thing for each video and store that information and maybe dimensions, encoding, etc there. With JS (or perhaps a plugin), you can get media metadata information on the client browser before the file is uploaded and then create a new thing with the the media file and pair it with the file url.

This topic was automatically closed after 70 days. New replies are no longer allowed.