You need to set the CORS policy for your S3 bucket. The configuration on the console looks like 1. More documentation can be found here.
1