S3 Signed URLs for Video Player

We are trying to use the Video Player component to play videos store in S3. We cannot expose these videos publicly, so we use the standard pattern of generating signed URLs. Unfortunately the Video Player cannot seem to play videos with these URLs.

Any ideas on how to get this to work? It seems like there should be a standard method for this.

Hey there @rbrigden and welcome to the community! I’m not super familiar with signed URLs, but I looked around our docs and found this section about them.

Let me know if this has the info you need - if not I’ll run this by engineering to get a more concrete answer.

Hi Justin, thanks for taking a look into this! Ultimately we found out that we had our videos incorrectly encoded (mp4v instead of h264) as well as an incorrect Content-Type header on the object (should have been video/mp4).

Signed URLs worked just fine once we identified and resolved those 2 issues.

1 Like

Awesome, glad to hear @rbrigden! Let us know if there’s anything else we can help with.

1 Like