Make WordPress Core

Opened 14 years ago

Closed 13 years ago

Last modified 10 years 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's profile atetlaw Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.0.1
Component: Multisite Keywords:
Focuses: 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 (8)

#1 @scribu
14 years ago

Related: #14833

#2 @atetlaw
14 years ago

  • Component changed from General to Multisite

Correcting the component field

#3 @hakre
14 years ago

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

#4 @kingkong954
13 years ago

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

#5 @scribu
13 years 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 13 years ago by scribu (previous) (diff)

#7 @SergeyBiryukov
12 years ago

  • Resolution changed from maybelater to invalid

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

#8 @mkormendy
10 years ago

A tutorial on how to achieve what scribu describes re: .htaccess modification with that PHP script would be wonderful!

Note: See TracTickets for help on using tickets.