[IMPLEMENTED] Mp4 not returning byte range

I have…

  • [ x] Checked the logs and have provided the logs if I found something suspicious there

I’m submitting a…

  • [ ] Regression (a behavior that stopped working in a new release)
  • [ ] Bug report
  • [ ] Performance issue
  • [x ] Documentation issue or request

Current behavior

So unlike all other browsers Safari on iOS and OSX requires a byte range for mp4 video, that is it needs a 206 response not a 200. This means I cannot embed mp4 assets from Squidex as they won’t play in Safari.

Expected behavior

The Squidex API would stream the video file back to the client.

Minimal reproduction of the problem

Host a mp4 video as a asset, then try embed it in a webpage using the tag, this will play on all browsers but not Safari on Mac.

Environment

  • [ ] Self hosted with docker
  • [x ] Self hosted with IIS
  • [ ] Self hosted with other version
  • [ ] Cloud version

Version: 2.0.5

Browser:

  • [ ] Chrome (desktop)
  • [ ] Chrome (Android)
  • [ ] Chrome (iOS)
  • [ ] Firefox
  • [x ] Safari (desktop)
  • [ x] Safari (iOS)
  • [ ] IE
  • [ ] Edge

Others:
I am using folder storage.

Okay, good to know, but I am not sure yet, how to implement that. I have changed it to a feature request.

I have pushed a new version that provides range support for all assets (except resized images).

1 Like

Amazing, thank you so much for actioning this so quickly.

Does it work? I have another PR to fix a problem when a previous version of a file is downloaded, but this should be ready soon.