[wp-trac] [WordPress Trac] #42560: mp4 files do not play in Safari

WordPress Trac noreply at wordpress.org
Fri Apr 19 11:09:31 UTC 2019


#42560: mp4 files do not play in Safari
--------------------------+------------------------------
 Reporter:  cg923         |       Owner:  (none)
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Media         |     Version:  3.0
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:  multisite
--------------------------+------------------------------

Old description:

> When a user uploads an mp4 file, it will not play in Safari.
>
> We have determined that this is not an issue with our Apache server
> (seems to happen to some folks that they have disabled range request
> headers) as the same file uploaded elsewhere on our server but externally
> from the wordpress site loads fine.
>
> It seems that perhaps the video is attempting to load in byte ranges but
> that Wordpress is returning a 200 response instead of a 206, but that is
> just a hunch.

New description:

 When a user uploads an mp4 file, it will not play in Safari.

 We have determined that this is not an issue with our Apache server (seems
 to happen to some folks that they have disabled range request headers) as
 the same file uploaded elsewhere on our server but externally from the
 wordpress site loads fine.

 It seems that perhaps the video is attempting to load in byte ranges but
 that WordPress is returning a 200 response instead of a 206, but that is
 just a hunch.

--

Comment (by xkon):

 Just wanted to throw an update here.

 The issue can be easily seen if you try to load the file via the 'normal'
 paths for example in the case I bumped into today was:

 **somemulti.site/subsite/files/2019/01/video.mp4** - this would return an
 `Failed to load resource: Plug-in handled load Selected Element` error.

 But getting the direct file from **somemulti.site/wp-
 content/blogs.dir/2/files/2019/01/video.mp4** was ok.

 After applying the patch everything it seems to work fine using latest
 Safari.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/42560#comment:17>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list