This support forum is no longer in use. Please use the Cloudinary Community at https://community.cloudinary.com/ to receive assistance from other members of the community and from Cloudinary's support team. For account-specific questions or if you believe that you've encountered a bug, please contact the Cloudinary team directly via the "submit a request" option on this support site.

Crop the video and upload

Comments

1 comment

  • Official comment
    Avatar
    Loic Verger Del Bove

    Hi Noah,

    Thanks for reaching out.

    For resources other than images like videos, you will need to add the resource_type parameter (as mentioned here) and set it, in your case, to video:

    await cloudinary.v2.uploader.upload("before_crop.webm",{
    resource_type:"video",
    transformation: [
    {x,y,width,height,crop: "fill"},
    ],
    });

    Hope that helps.

    Best,

    Loic

    Comment actions Permalink

Post is closed for comments.