How do I set up eager_async in javascript sdk?
This is the code I wrote.
let options= {
cloud_name:"{cloudName}",
api_key:'{api_key}',
api_secret:'{api_secret}',
}
var cl=newcloudinary.Cloudinary(options);
console.log(cl)
let videoOptions= {
secure:true,
controls:true,
transformation: [
{
startOffset:"6.5",
endOffset:"10",
},
{
videoCodec:'h264:baseline:3.1',
quality:50,
},
],
}
let video = cl.videoTag('{publicId}"', videoOptions).toHtml()
I request this and I get the error "Video is too large to process synchronically, please use an eager transformation with eager_async=true to resolve."
0
-
Hi Seung,
Please upload the video eagerly with eager_async set to true.
You can set it on the upload preset on Cloudinary's setting page: https://cloudinary.com/console/settings/upload
https://cloudinary.com/documentation/upload_images#upload_presets
More information on eager upload here: https://cloudinary.com/documentation/upload_images#eager_transformations
Thanks,
Aditi
0
Post is closed for comments.
Comments
1 comment