CenterForOpenScience / waterbutler

WaterButler is a Python web application for interacting with various file storage services via a single RESTful API, developed at Center for Open Science.
Apache License 2.0
62 stars 76 forks source link

mp4 video failed on only Safari browse #411

Open ebijun opened 4 months ago

ebijun commented 4 months ago

mp4 file can play on osf.io, But playing mp4 video failed on only Safari browser.

I've seen the issues. and the problem still remains the same?

Safari needs "HTTP Range Request" on large file transfer. (RFC7233) If the server can't reply HTTP Range Request,Safari can't read the requested file.

Request:
Range: bytes=0-1 
              ===============>
                                                        206 Partial Content returns,
                                                        and should return mp4 first 1byte,
                                                         but Waterbutler returns 2bytes and failed.
              <===============