Search code examples
amazon-s3safarivideo-streaminghtml5-videowasabi

Safari won't play video from s3 despite 206 response


I am displaying a video with the html5 video element. The source is a pre-signed url from Wasabi s3. It works well on Chrome but it won't play on Safari. I did some research and it seems like this is usually due to the server not being configured to return a 206 code. However, I did check the server and it seems to support byte-range requests.

enter image description here

Here is the network tab. Any help would be greatly appreciated. enter image description here


Solution

  • Ok, it seems like I usually get stuck on those minuscule problems. Turns out that Safari, unlike Chrome, doesn't like to play files without file extension. Adding ".mp4" to my files solved the problem...