WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 20 months ago

Last modified 8 months ago

#15552 closed defect (bug) (invalid)

Serving video to iOS devices does not work in Multisite Wordpress due to lack of byte-range support

Reported by: atetlaw Owned by:
Priority: normal Milestone:
Component: Multisite Version: 3.0.1
Severity: normal Keywords:
Cc:

Description

Apparently iOS requires byte-range support for audio and video. Serving a static .mp4 file to an iOS from Apache works fine, but serving the same file from a Wordpress MS 3.01 installation fails. This is because the file URL is rewritten to use ms-files.php. The PHP file does a readfile($file) on the file to serve it. This is incompatible with iOS devices and will fail.

The problem, and a solution (supporting byte-range requests), is explained in 'Appendix A' here:
http://mobiforge.com/developing/story/content-delivery-mobile-devices

Change History (7)

comment:1 scribu3 years ago

Related: #14833

comment:2 atetlaw3 years ago

  • Component changed from General to Multisite

Correcting the component field

comment:3 hakre3 years ago

I guess they need that for streaming. But to implement that with PHP via mod_rewrite can kill the server (load).

comment:4 kingkong95420 months ago

This continues to be an issue for MS deployments -- any chance on someone reviewing it?

comment:5 scribu20 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to maybelater
  • Status changed from new to closed

Given the performance hit that hakre already mentioned, this is unlikely to get added to Core.

Furthermore, you're free to change your .htaccess to point to a custom php file that implements the solution mentioned in the ticket description.

Last edited 20 months ago by scribu (previous) (diff)

comment:7 SergeyBiryukov8 months ago

  • Resolution changed from maybelater to invalid

#19235 turned off ms-files.php by default.

Note: See TracTickets for help on using tickets.