Open dnish opened 8 years ago
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.
resource_type
Just an example, this fails:
utils.js resource_type = (ref3 = options["resource_type"]) != null ? ref3 : "image";
resource_type = (ref3 = options["resource_type"]) != null ? ref3 : "image";
If I change it to resource_type = "video"
resource_type = "video"
...everything works fine. But in my case I've videos and images, so this isn't a solution for me.
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.