Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 745
Max Avatar asked Oct 23 '25 18:10

Max


1 Answers

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...

like image 102
Max Avatar answered Oct 27 '25 01:10

Max



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!