From 8c2e7009264024e1c19e6ed9e05251f8e205f1f0 Mon Sep 17 00:00:00 2001 From: Eric Portis Date: Thu, 24 Sep 2026 21:59:01 -0700 Subject: [PATCH 1/2] feat: upgrade Cloudinary video player from v1 to v4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Requires @cloudinary-util/url-loader@6.3.2, which stops deriving aspectRatio from width/height — player v4 renders that as an invalid poster URL (cloudinary/cloudinary-video-player#1087). BREAKING CHANGE: the video player's default appearance changes. --- next-cloudinary/scripts/copy-assets.ts | 2 +- .../src/components/CldVideoPlayer/CldVideoPlayer.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/next-cloudinary/scripts/copy-assets.ts b/next-cloudinary/scripts/copy-assets.ts index 68125f2b..fcd2a6b8 100644 --- a/next-cloudinary/scripts/copy-assets.ts +++ b/next-cloudinary/scripts/copy-assets.ts @@ -3,7 +3,7 @@ import { createWriteStream } from 'fs'; import { mkdirp } from 'mkdirp'; import https from 'https'; -const PLAYER_VERSION = '1.11.1'; +const PLAYER_VERSION = '4.1.1'; const assets = [ { diff --git a/next-cloudinary/src/components/CldVideoPlayer/CldVideoPlayer.tsx b/next-cloudinary/src/components/CldVideoPlayer/CldVideoPlayer.tsx index 6660bb5b..fc3ff535 100644 --- a/next-cloudinary/src/components/CldVideoPlayer/CldVideoPlayer.tsx +++ b/next-cloudinary/src/components/CldVideoPlayer/CldVideoPlayer.tsx @@ -11,7 +11,7 @@ import { getCloudinaryConfig } from "../../lib/cloudinary"; let playerInstances: string[] = []; -const PLAYER_VERSION = '1.11.1'; +const PLAYER_VERSION = '4.1.1'; const CldVideoPlayer = (props: CldVideoPlayerProps) => { From f6a74583cf46376aa297658173f3420bb8c58d44 Mon Sep 17 00:00:00 2001 From: Eric Portis Date: Fri, 25 Sep 2026 08:53:22 -0700 Subject: [PATCH 2/2] chore: bump video player to latest patch version --- next-cloudinary/scripts/copy-assets.ts | 2 +- .../src/components/CldVideoPlayer/CldVideoPlayer.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/next-cloudinary/scripts/copy-assets.ts b/next-cloudinary/scripts/copy-assets.ts index fcd2a6b8..a0ed69f4 100644 --- a/next-cloudinary/scripts/copy-assets.ts +++ b/next-cloudinary/scripts/copy-assets.ts @@ -3,7 +3,7 @@ import { createWriteStream } from 'fs'; import { mkdirp } from 'mkdirp'; import https from 'https'; -const PLAYER_VERSION = '4.1.1'; +const PLAYER_VERSION = '4.1.2'; const assets = [ { diff --git a/next-cloudinary/src/components/CldVideoPlayer/CldVideoPlayer.tsx b/next-cloudinary/src/components/CldVideoPlayer/CldVideoPlayer.tsx index fc3ff535..9ee710df 100644 --- a/next-cloudinary/src/components/CldVideoPlayer/CldVideoPlayer.tsx +++ b/next-cloudinary/src/components/CldVideoPlayer/CldVideoPlayer.tsx @@ -11,7 +11,7 @@ import { getCloudinaryConfig } from "../../lib/cloudinary"; let playerInstances: string[] = []; -const PLAYER_VERSION = '4.1.1'; +const PLAYER_VERSION = '4.1.2'; const CldVideoPlayer = (props: CldVideoPlayerProps) => {