I'm using the HTML5 download attribute to allow users to download a video file from S3:
<a href="https://mybucket.s3.amazonaws.com/video.mp4" download="video.mp4">Download</a>
This works perfectly in Chrome and IE. From the following question I understand that Firefox wants CORS to be enabled to allow download attribute to work cross origin:
I've enable CORS on my S3 bucket using the following technique:
http://docs.aws.amazon.com/AmazonS3/latest/user-guide/add-cors-configuration.html
And this is my CORS policy:
<CORSConfiguration>
<CORSRule>
<AllowedOrigin>*</AllowedOrigin>
<AllowedMethod>GET</AllowedMethod>
<MaxAgeSeconds>3000</MaxAgeSeconds>
<AllowedHeader>Authorization</AllowedHeader>
</CORSRule>
</CORSConfiguration>
Firefox still doesn't want to download the video. Any help, tips or suggestions would be greatly appreciated. Thank you.