cloudinary-community / next-cloudinary

⚡️ High-performance image delivery and uploading at scale in Next.js powered by Cloudinary.
https://next.cloudinary.dev
MIT License
237 stars 64 forks source link

Fixes getCldVideoUrl Safari Bug #468

Closed colbyfayock closed 3 months ago

colbyfayock commented 3 months ago

Description

getCldVideoUrl was simply using f_auto for automatic format selection, but f_auto can default to an image

https://cloudinary.com/documentation/video_optimization#specifying_media_type_with_f_auto

This is what was happening in Safari, but by providing the hint of f_auto:video we can be sure it will return a video format.

Issue Ticket Number

Fixes #467

Type of change

Checklist

vercel[bot] commented 3 months ago

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

Name Status Preview Updated (UTC)
next-cloudinary ✅ Ready (Inspect) Visit Preview Apr 17, 2024 0:21am
github-actions[bot] commented 3 months ago

:tada: This PR is included in version 6.5.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket: