Get thumbnail from authenticated video
Hello,
Is it possible to generate a thumbnail from an authenticated uploaded video without any transformations?
I create the signature using the publicID + API Secret since I do not need any transformations.
The resulting URL that includes the signature and the adjusted file extension (from .mp4 to .jpg) results in a 404.
Thanks for your help!
-Bryce
-
Hey Bryce,
The extension in of the URL should also be included when signing the reuqest, so you should adjust your public_id part of the signature to also include the extension in the string before you base64 encode it, so for example if you have a video with a public id of "sample-video", you should actually sign "sample-video.jpg".
Wanna give it a try and update here on whether this has solved the issue for you?
Thanks,
Raz1 -
Hi Raz,
It's a Christmas miracle. Thank you, that worked perfectly!
Cheers,
Bryce
0 -
Haha Bryce, that's a good one!
You're very much welcome. Glad that I could contribute to your Christmas miracle 😉
0
Post is closed for comments.
Comments
3 comments