Discussions
CORS error when playing video with video tag in Next.js with received result_url
When Next.js calls https://api.d-id.com/talks/{id} and then plays the video with the result_url received with the video tag, a CORS error occurs as shown below.
The domain is https://langchain-avatar.vercel.app
Access to video at 'https://d-id-talks-prod.s3.us-west-2.amazonaws.com/google-oauth2%7C109474778308689974188/tlk_b4KG1zG-qy5eQAiTzobOj/1702020317025.mp4?AWSAccessKeyId=AKIA5CUMPJBIK65W6FGA&Expires=1702106722&Signature=Di%2BCthcnU%2B%2F5XpEjE5C%2BisFWkpQ%3D&X-Amzn-Trace-Id=Root%3D1-6572c4e2-16f430522306fb627820c04e%3BParent%3D9cc0576114c1748a%3BSampled%3D1%3BLineage%3D6b931dd4%3A0' from origin 'https://langchain-avatar.vercel.app' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.