Figma plugin to get the cover image of a YouTube or Vimeo video from its url.
It opens a Figma panel and you insert the YouTube or Vimeo url. If one or more layers are selected, a fill with the video cover image will be added to all of them. If no layer is selected, a new layer will be created with the video cover fill added.
To develop a Figma plugin you need to install the desktop app. Learn more in the Figma Plugin docs.
Available commands:
npm run dev: starts the watcher for changes. Modify the files under thesrcfolder and the code will be compiled automatically. Then, go to the Figma app and run your development plugin.npm run build: generates the production build in thedistfolder. Before generating the build, it checks the TypeScript code for linting errors.npm run test: simple test that ensures that theui.htmlandplugin.jsfiles have been generated in thedistfolder.npm run lint: lint TypeScript code.npm run lint:fix: lint and apply automatic fixes to TypeScript code. This script runs beforebuild.
Take a look if someone already opened a similar issue or open a new one.
See the artwork for the Figma icon and cover in the Figma file.
- Support more video platforms.
Made with

