Skip to content

Secure Distribution / Cname Environment Variables, CldVideoPlayer Config - #466

Merged
colbyfayock merged 6 commits into
mainfrom
feat/465-global-cname
Apr 11, 2024
Merged

colbyfayock merged 6 commits into
mainfrom
feat/465-global-cname

Conversation

@colbyfayock

@colbyfayock colbyfayock commented Apr 11, 2024 •

Copy link
Copy Markdown
Collaborator

Description

  • Global cname/secure distribution
  • CldVideoPlayer config prop
  • CldUploadWidget config prop

Adds the ability to configure an environment variable for global cname/secure distribution configuration

NEXT_PUBLIC_CLOUDINARY_SECURE_DISTRIBUTION="spacejelly.dev"
NEXT_PUBLIC_CLOUDINARY_PRIVATE_CDN=true

Currently opting not to provide an option for the cname parameter as that's considered legacy and only used for insecure contexts, which is not recommended

See: https://cloudinary.com/documentation/cloudinary_sdks#configuration_parameters

Adds config prop to CldVideoPlayer and CldUploadWidget for individual configuration. This also inherits the global configurations as relevant.

Issue Ticket Number

Fixes #465
Fixes #464

@vercel

vercel Bot commented Apr 11, 2024 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
next-cloudinary ✅ Ready (Inspect) Visit Preview Apr 11, 2024 10:11pm

@colbyfayock colbyfayock changed the title Secure Distribution / Cname Environment Variables Secure Distribution / Cname Environment Variables, CldVideoPlayer Config Apr 11, 2024
@colbyfayock
colbyfayock merged commit 9cafdac into main Apr 11, 2024
@colbyfayock
colbyfayock deleted the feat/465-global-cname branch April 11, 2024 22:13
github-actions Bot pushed a commit that referenced this pull request Apr 11, 2024
# [6.5.0](v6.4.1...v6.5.0) (2024-04-11)

### Features

* Secure Distribution / Cname Environment Variables, CldVideoPlayer Config ([#466](#466)) ([9cafdac](9cafdac)), closes [#465](#465) [#464](#464)
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 6.5.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

This branch was successfully deployed

1 active deployment
Preview — 1a280209 Deployed Apr 11, 2024 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature] CldImage doesn't support cname, privateCdn or secureDistribution [Feature] Dynamically set Cloudinary Cloud Name (just like UploadPreset)

1 participant