Named transformation for video
Hi!
I'm trying to create a video with a lot of transformations, a lot of text overlays to be specific.
I've gotten to the point where the URL length reaches the limit for what is permitted by most browsers, as well as your endpoint (close to 2000 characters).
From the documentation I found out that it's possible to create "namned transformations", in order to shorten the URL. I gave it a try by generating such a transformation using the Admin API, http://cloudinary.com/documentation/admin_api
The transformation was created as expected but when inserting the named transformatio in the URL I get a 400 (Bad request).
Here's the URL I'm using as a test:
http://res.cloudinary.com/humblebees/video/upload/t_test/bbb.mp4
I also tried using the subtitle option with a .srt file, but this doesn't allow of the same level of control when it comes to styling of the text.
I also need to be able to dynamically set these texts based on user input, which further complicates things.
Any input on this matter would be greatly appreciated.
Thank you,
/John
-
I got this is resolved.
The problem was I was creating the named transition with a "t_"-prefix. This wasn't necessary since Cloudnary implicitly appends this prefix as well. I found this out after using t_t_test in my URL instead.
After removing the prefix form my named transformation the above link is working as expected:
http://res.cloudinary.com/humblebees/video/upload/t_test/bbb.mp4
Best,
/John0 -
Hi.
That's great to hear!
If you have any further questions please let us know at support@cloudinary.com
0
Post is closed for comments.
Comments
2 comments