[wp-trac] [WordPress Trac] #42560: mp4 files do not play in Safari
WordPress Trac
noreply at wordpress.org
Wed Nov 15 21:02:59 UTC 2017
#42560: mp4 files do not play in Safari
--------------------------+------------------------------
Reporter: cg923 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: 4.8.3
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by cg923):
Right, the youtube piece was besides the point.
When we use the built in wordpress file uploader and upload an mp4 file it
will not play in Safari. The resource is loaded, it seems, as the site
will return 200 for the video file, but it won't play, probably because
wordpress is offering the file in one chunk, whereas Safari is trying to
load it in bytes.
I'm a little new to all this so I apologize if I don't explain myself
clearly.
Replying to [comment:3 blobfolio]:
> Replying to [comment:2 cg923]:
> > It's an HTML 5 video element with the source being an mp4 file in the
media directory.
> > External youtube videos are working fine.
>
> Youtube is a little different; when you embed a Youtube video, the
content (and all relevant headers) come from Youtube's servers.
>
> A way to test how your server handles video — without WordPress — would
be to make a barebones HTML file, like `test.html`, that looks like:
>
> {{{
> <html>
> <head><title>Video Test</title></head>
> <body>
> <!-- Copy the <video> code from your blog post here. -->
> <video .... >
> </body>
> </html>
> }}}
>
> If you upload that file to the server and visit it in Safari (e.g.
http://yourdomain.com/test.html), WordPress should not be playing any role
whatsoever.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42560#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list