1

I need to upload video assets to candymachine but I didn't find anything related to it in metaplex docs. Please can anyone assist with it?

1 Answer 1

3

I'll explain how to do it with sugar, since this is the current recommended tool for creating candy machines (CM). I'll also assume that you are already aware how to create a CM with images in it and how to properly prepare the assets for it and that you are using MP4 video files.

Even for video NFTs you should include a PNG image into the asset folder and json to have a placeholder image for wallets / dapps that are unable to render video files.

In addition to the process of creating a CM containing images you'll have to do two steps:

  1. Like shown in the token metadata standard add a animation URL to your json file:
{
...
  "image": "0.png",
  "animation_url": "0.mp4",
...
}
  1. Include your mp4 video files into the same asset folder where you also have the PNG and JSON files.

And that's it!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.