[MediaWiki-l] Attempting to view .mp4 video file on Safari browser thru img_auth.php
kevstoy at aol.com
kevstoy at aol.com
Wed Feb 10 14:53:17 UTC 2016
I wanted to follow up on this email from a month ago. Please see the Phabricator report Brion started here: https://phabricator.wikimedia.org/T122858
It looks like Brion was able to identify some potential causes of the issue, but not a resolution yet. Thanks to all for any help!
From: kevstoy <kevstoy at aol.com>
To: mediawiki-l <mediawiki-l at lists.wikimedia.org>
Sent: Fri, Dec 18, 2015 12:16 pm
Subject: Attempting to view .mp4 video file on Safari browser thru img_auth.php
Thanks you in advance for reading this post and any assistance! :)
I'm attempting to view/replay a .mp4 video file that has been uploaded into my wiki using Mediawiki 1.25 thru the img_auth.php process on Safari on a Mac. The video player "becomes visible" and says "loading" but the content never plays. The file appears and plays just fine in Chrome, IE, and Firefox. So my question is has anyone else run into this issue and/or why would this be an issue just for safari? On a related note, I stuck my video file in one of my web accessible extension directories and the video file plays just fine on all browsers. So I'm thinking there's something in img_auth.php, but not sure.
So details to test/recreate:
- Simple/small .mp4 file: (e.g. TestVideo.mp4)
- Mediawiki v1.25
- Mac: v10.10.5
- Safari: v9.0.2
1) In my Wiki I use the Special:Upload page to upload my TestVideo.mp4 to the wiki. The result is two links like so:
- http://server/MyWiki/index.php/File:TestVideo.mp4 and
If you go directly to the second link, the video plays fine in IE, Chrome, and Firefox but not in Safari.
A follow up test:
1) I manually uploaded my TestVideo.mp4 to a random extension directory (since that was web accessible outside of img_auth.php) such as:
And this link plays the video just fine on all browsers.
So does anyone have any thoughts (or solutions on how to fix) why img_auth.php is doing something that isn't properly playing the .mp4 video on Safari, but works on the other browsers?
Thank you again for the assistance!
More information about the MediaWiki-l