cloudinary icon indicating copy to clipboard operation
cloudinary copied to clipboard

How to upload videos?

Open dnish opened this issue 9 years ago • 0 comments

Just wondering why the script tries to upload videos to "image/upload" instead of "video/upload"? It works if I set the resource_type manually to video in the npm cloudinary package, but that's not a nice solution.

Just an example, this fails:

utils.js resource_type = (ref3 = options["resource_type"]) != null ? ref3 : "image";

If I change it to resource_type = "video"

...everything works fine. But in my case I've videos and images, so this isn't a solution for me.

dnish avatar Feb 05 '16 16:02 dnish