Skip to content

Latest commit

 

History

History
37 lines (29 loc) · 905 Bytes

README.md

File metadata and controls

37 lines (29 loc) · 905 Bytes

nexrender-action-cloudinary

Installation

npm i -g nexrender-action-cloudinary

Example Postrender action

"postrender": [
      {
        "module": "@nexrender/action-encode",
        "preset": "mp4",
        "output": "encoded.mp4"
      },
      {
        "module": "nexrender-action-cloudinary",
        "input": "encoded.mp4",
        "params": {
          "api_key": "Cloudinary api key",
          "cloud_name": "Cloudinary Bucket",
          "api_secret": "Cloudinary api secret",
          "UploadApiOptions": {} // See Upload Api Options section.
        }
      }
    ]

Upload Api Options

Directly passed to cloudinary uploader. The only default provided is {resource_type: 'video'}.

Read the official docs for a list of supported options.

Cloudinary Docs for UploadApiOptions