cloudinary-community / svelte-cloudinary

⚡️ High-performance image delivery and uploading at scale in Svelte powered by Cloudinary.
https://svelte.cloudinary.dev/
MIT License
28 stars 14 forks source link

[Feature] Allow to pass an url as src to CldVideoPlayer #57

Closed matiasfha closed 9 months ago

matiasfha commented 1 year ago

Feature Request

Sets up the CldVideoPlayer to allow passing in a valid Cloudinary URL as a src

Example:

src="https://res.cloudinary.com/next-cloudinary/video/upload/v1/videos/mountain-stars.webm"

Similar to CldImage, the URL must include a version number /v1234/

colbyfayock commented 12 months ago

SEe how we're doing it in Next Cloudinary with the Cloudinary Util function: https://github.com/colbyfayock/next-cloudinary/blob/main/next-cloudinary/src/components/CldVideoPlayer/CldVideoPlayer.tsx#L47

matiasfha commented 9 months ago

This is already implemented