0

I have uploaded a mp4 file using node.js on my cloudinary account. I have saved public id of video. Is there any api to download the uploaded video?

Chandan
  • 85
  • 1
  • 8

1 Answers1

3

Use the attachment flag (fl_attachment in URLs) to tell the browser to download the video instead of displaying it.

For example,

http://res.cloudinary.com/<cloud_name>/video/upload/fl_attachment/<public_id>.mp4

For more information on delivery flags, http://cloudinary.com/documentation/image_transformations#delivery_and_image_format_flags

Maor.G
  • 440
  • 2
  • 5