Skip to main content
Duarte_Edan
New Member
November 11, 2022
Question

Is there a getVideoByHash(video.videoHash) function?

  • November 11, 2022
  • 10 replies
  • 1332 views

Hello, I’m developing a plugin, and have been able to bring images to my Express app in a POST by let image = figma.getImageByHash(paint.imageHash)
and then running image.getBytesAsync(). Then sending this uint8Array to Express/Multer.

Are there going to be similar functions added for video? I tried accessing a video in a prototype using its hash i.e. figma.getImageByHash(video.videoHash) but no luck. Sorry if this isn’t very clear. Thanks and love all the cool new features!

All the best, Edan

This topic has been closed for replies.

10 replies

Gleb
Power Member
November 11, 2022

Yes this will be added.

Update: I misunderstood the question, thought you meant all video APIs but those are already available. Getting an uploaded video from Figma seems to be not possible currently and I saw no mention of it ever becoming available. But it probably should be released at some point of course.

aferriss
December 27, 2022

Hi there! Just adding a +1 that I would love to see something like getVideoByHash(videoHash). It’d be super useful for helping make plugins that can stylize video!

Michael_Yagudaev
February 22, 2023

Quick update here: seems like the Figma team is working on introducing this in the next release or two (the release cycle is ~4 weeks).

Source: https://twitter.com/jediahkatz/status/1628162168305733639?s=61&t=YCJEAIDVlCaaFhWAj_rWZw

So hopefully, we will have this soon 🤞.

For now as a workaround, we can ask users to select their videos from their local drive again.

Pat_Maechler
New Member
March 29, 2023
Michael_Yagudaev
June 2, 2023

Sadly that is correct, there is still no way to do this 😢

October 18, 2023

Are there any updates here? We would love to be able to do more with videos in our plugins 🥹

Adam19
May 22, 2024

+1 for this, looking to get all videos in a Figma file quickly for download without having to go frame by frame.

Roelf-Jan
August 16, 2024

Bump this request, I’m also looking for this! Or just in the REST API

Ivan_Kubota
New Member
August 26, 2024

@Gleb, maybe you get some updates on this? Even getting an S3 link from plugin API (like the one in development mode) would be great to have.

Lorraine_Li
November 19, 2024

+1 on this request, looking for this to do more with videos 🙏