html5 - Does iPhone/iPad Safari require 'Accept-Ranges' header for video? -


I am having trouble serving the video to my dev server who plays in Mobile Safari. My dev server does not support 'accept-range' header and after reading some forums I have found that my problem may be.

Is that correct? Does Mobile Safari Need Accept-Range Headers? Does anyone point me to any Apple document that really tells?

Thank you.

I have found some Apple documentation that says that in fact it is necessary for the video.

Can support HTTP server byte-range requests for hosting media files for iOS, which is used to access random access to iOS media playback (Byte-Range support is also known as content category or partial-range support.) Most, but not all, HTTP 1.1 servers already support byte-range requests.

If you are not sure whether your media server supports byte-range requests, you can open Terminal applications in OS X and download a small section of the file on the server to execute the curl command. Line Tools can be used:

Curl - Range 0-99 http://example.com/test.mov-o/dev/null/

< P> If the device reports that it downloads 100 bytes, then the media server correctly determines the byte range Request If it downloads the whole file, you may have to update the media server.


Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -