This article will cover the steps you need to take in order to configure the CORS permissions on Amazon S3 if you enable Captions on your videos.
If you are using Amazon S3 which we recommend to host your caption files, there are certain settings you need to check before being able to insert them into our Video Blocks. You do this on the bucket where you uploaded the caption file.
NIB! We recommend using one bucket to upload all of your caption files, so that you only need to apply CORS permissions once. If you decided to upload caption files on different buckets within Amazon S3, you have to set the CORS permissions for each buckets.
1. Go to your Bucket on S3
2. Go to the Permissions Tab on the top
3. Click on the CORS configuration button
In the “CORS Configuration editor, paste the following text:
<?xml version="1.0" encoding="UTF-8"?> <CORSConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/"> <CORSRule> <AllowedOrigin>*</AllowedOrigin> <AllowedMethod>GET</AllowedMethod> </CORSRule> </CORSConfiguration>
That’s it! You should now be able to add your .vtt file to 10xpro Video Blocks and have the captions visible on your videos.