Skip to main content
Jan 2, 2024 7:17 AM UTC
Question

Is there a way to get the length of an embedded video file on the code?

Trying to see if there is a way to get the length of the video embedded in a Figma File?

Cannot seem to find anything of the sort so this is me hoping it is possible.

This topic has been closed for replies.

5 replies

Gayani_S
Figmate
Community Support
Jan 2, 2024 1:55 PM UTC

Hey Diana, you can view and update video fills in the Fill section of the right sidebar. From the Fill section, you can play, preview your video fill and see the length of the video as well.

Preview video upload gif

didi_gAuthor
Jan 2, 2024 4:26 PM UTC

Thanks for the quick reply! I was wondering if this was possible to do it with code while developing a Figma plugin

Gayani_S
Figmate
Community Support
Jan 4, 2024 3:38 PM UTC

I’ll check this with the team and get back to you once I receive a response!

Gayani_S
Figmate
Community Support
Jan 9, 2024 11:55 AM UTC

Hey there, so I got the response that this is not possible today. Could you share a bit more about what you’re trying to achieve/what scenario you’re trying to unlock by getting the length of a video fill?

Dani_M
Jan 31, 2024 8:45 PM UTC

I was wondering the same, my use case would be to create an interactive timeline to browse a video in a prototype. Not sure if that would be possible via plugin.