Watermark Video Overlay not working
Not sure what I am doing wrong?
cloudinary_icon_image exists and is a real public id of the cloudinary watermark. Im copying this directly from the documentation and it says 400 always.
Any ideas would be great, thanks!
Answers
-
Hi there,
Thanks for reaching out.
The issue is that the
cloudinary_icon_image
is in a folder calledsamples
. The folder is considered as part of the public_id, so you will need to include that. The full public_id is actuallysamples/cloudinary_icon_image
One thing to note is that when the pulic_id includes slashes ( as it does in the case of a folder structure ), you will need to replace the slash with a colon.If you check the following URL, it works now 😊
https://res.cloudinary.com/dn8sizuse/video/upload/l_samples:cloudinary_icon_image,y_10,x_10,o_50/y3cwtqbwcweqitcmfajv.mp4You can read more about image overlays in our documentation here:
https://cloudinary.com/documentation/layers#image_overlaysI hope this helps. If you have any questions at all, do not hesitate to ask.
Kind regards,
Tia
Helpful Links For You
💬 Share questions, connect with other users in our Cloudinary Community forums and Discord server!
🧑🎓 Join our Cloudinary Academy for free courses, workshops and other educational resources.
📄 Read our documentation for in-depth details on Cloudinary product features and capabilities
📰 Check out the Cloudinary blog for the latest company news and insights1 -
@wuzzy - I modified your transformation set to be a little more aesthetically pleasing too, by adding w_100 to scale the logo down and g_north_east to place it in the top-right corner of your video. I think it looks slick! https://res.cloudinary.com/dn8sizuse/video/upload/l_samples:cloudinary_icon_image,y_10,x_10,w_100,g_north_east/y3cwtqbwcweqitcmfajv.mp4
Hope this helps!
0 -
Thanks so much! Looks like I missed the l_samples: But looks great, cloudinary is great!
1 -
Hi there,
Thanks for the kind words 😊 We're always happy to help.
Kind regards,
Tia
Helpful Links For You
💬 Share questions, connect with other users in our Cloudinary Community forums and Discord server!
🧑🎓 Join our Cloudinary Academy for free courses, workshops and other educational resources.
📄 Read our documentation for in-depth details on Cloudinary product features and capabilities
📰 Check out the Cloudinary blog for the latest company news and insights0