Skip to main content

Using Cloudinary for files other than images and videos

Comments

4 comments

  • Torres

    Thanks for your answer Stephen.

    You just forgot to say that pdf and others files format are blocked for delivery for free accounts.

    See: https://cloudinary.com/documentation/image_delivery_options#blocked_delivery_formats_for_security

    0
  • Millie Axelrod

    Hi Torres,

    Thank you for your comment! We've added this additional information to the article. 

    If you'd like to enable the PDFs delivery option on your account please contact us with an example PDF you'd like to deliver. 

    Best regards,
    Millie

    0
  • Sayuri

    Can we upload an SRT file?

    0
  • Aleksandar Kostadinov

    Hi @Sayuri,

    Yes, absolutely - the SRT file can be uploaded as a "raw" asset into Cloudinary.

    If you're uploading via the Media Library UI then we will automatically detect the filetype and assign the resource_type as "raw" for the SRT file upon upload.

    If you're uploading via the API, then you would need to either set resource_type:"raw" explicitly in your upload call or pass "auto" as the resource_type and let Cloudinary assign the right resource_type upon upload.

    Please see the following section of the documentation with details on uploading non-image/video assets as raw.
    https://cloudinary.com/documentation/upload_images#uploading_non_media_files_as_raw_files

    0

Please sign in to leave a comment.