Abhishek saini Abhishek saini - 1 year ago 139
Node.js Question

how to get cloudinary url of uploded video using node js ???

I have uploaded a mp4 file using node.js on my cloudinary account.But I am not able to get its url using public_id ? I have used

as mentioned in documentation ,but it is returning me a video tag.I just want to get a video url by its public id. Please help.Thanks .

Answer Source

You can use the cloudinary.url() method -

cloudinary.url("video.mp4", {resource_type: "video"})

It will generate the URL for accessing the uploaded video.

For more information - https://github.com/cloudinary/cloudinary_npm

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download