Streaming videos on iOS
Posted: 19 Mar 2021, 06:35
Streaming videos is not working on iOS devices but it‘s working in every other browser (even Safari on Mac).
Media files for iOS must support byte-range requests otherwise playback won‘t work. Also it requires the servers to support „Accept Range=bytes“, but this is usually the case in standard configurations.
To get this work, you will need to handle byte-range requests in the script ($_SERVER['HTTP_RANGE' ) because iOS devices are using HTTP byte-ranges for requesting audio and video files.
Media files for iOS must support byte-range requests otherwise playback won‘t work. Also it requires the servers to support „Accept Range=bytes“, but this is usually the case in standard configurations.
To get this work, you will need to handle byte-range requests in the script ($_SERVER['HTTP_RANGE' ) because iOS devices are using HTTP byte-ranges for requesting audio and video files.