DEV Community

Discussion on: Create your own Image CDN using AWS CloudFormation and AWS Lamda

Collapse
 
duyquocnguyen profile image
duyquocnguyen

Thank you and I have a question, I have upload a video with .mp4 and I can't into. Maybe this is error with api gateway. But I don't know modyfi them.

{"status":400,"code":"RequestTypeError","message":"The type of request you are making could not be processed. Please ensure that your original image is of a supported file type (jpg, png, tiff, webp, svg) and that your image request is provided in the correct syntax. Refer to the documentation for additional guidance on forming image requests."}

Collapse
 
ahmedadel profile image
Ahmed Adel • Edited

This CDN is for resizing images only, it does not support video files.

Collapse
 
abeskazali profile image
Ali Beşkazalı • Edited

If you want change video resize, file type or etc. on AWS, you should use AWS Elemental MediaConvert service. You can check this link for CloudFormation template.
aws.amazon.com/tr/solutions/implem...