Skip to content
This repository has been archived by the owner on Apr 3, 2018. It is now read-only.

Commit

Permalink
Update progressive_download.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Derry Shribman committed Apr 20, 2016
1 parent c2e1dfd commit a9582e0
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions progressive_download.md
Expand Up @@ -113,28 +113,23 @@ Timing-Allow-Origin: *
```
#### Using Amazon S3

If you are using Amazon S3 to store videos, you should configure your bucket to allow cross-origin requests, you create a CORS configuration, an XML document with rules that identify the origins that you will allow to access your bucket, the operations (HTTP methods) will support for each origin, and other operation-specific information. You can add up to 100 rules to the configuration. You add the XML document as the cors subresource to the bucket.
If you are using Amazon S3 to store videos, you should configure your bucket to allow cross-origin requests, you create a CORS configuration, an XML document with rules that identify the origins that you will allow to access your bucket, the operations (HTTP methods) will support for each origin, and other operation-specific information. You can add up to 100 rules to the configuration. You can add the XML document as the cors subresource to the bucket.

```
<CORSConfiguration>
<CORSRule>
<AllowedOrigin>*</AllowedOrigin>
<AllowedMethod>HEAD</AllowedMethod>
<AllowedMethod>GET</AllowedMethod>
<AllowedHeader>Content-Type</AllowedHeader>
<AllowedHeader>Origin</AllowedHeader>
<AllowedHeader>Accept</AllowedHeader>
<AllowedHeader>Range</AllowedHeader>
<AllowedHeader>Cache-Control</AllowedHeader>
<ExposeHeader>Content-Range</ExposeHeader>
<ExposeHeader>Date</ExposeHeader>
<ExposeHeader>Etag</ExposeHeader>
<MaxAgeSeconds>600</MaxAgeSeconds>
</CORSRule>
</CORSConfiguration>
```
Expand Down

0 comments on commit a9582e0

Please sign in to comment.