[pmwiki-users] Video problems with Safari 9.0.1
Petko Yotov
5ko at 5ko.fr
Tue Nov 17 11:58:21 CST 2015
Looking at the response headers, there are only a few differences: the
direct download from the server contains a header "Accept-Ranges: bytes"
which allows the browsers to restart a download or to skip forward. The
PmWiki's protected download feature does not provide such a function, a
file is served at once, the browser has to download it linearly.
If you remove or comment out the line
$EnableDirectDownload = 0;
from your local configuration, and fix Apache .htaccess permissions, it
will probably work.
OTOH if you have disabled direct downloads, you probably have a reason
for this.
Alternatively, you may define and use an InterMap prefix to easily link
from your pages to a directly accessible directory (or symlink) on the
server, for example:
# in the page [[Site.InterMap]]:
Videos: /~paul/Videos/
where on the server the Videos directory is a symlink to one uploads
subdirectory that may be accessed without passwords.
In content wiki page:
[[Videos:Concession_LAN_800k-h.mp4]]
See http://www.pmwiki.org/wiki/PmWiki/InterMap for more information.
Your authors will still need to upload the videos the usual way.
Petko
---
Change log : http://www.pmwiki.org/wiki/PmWiki/ChangeLog
Release notes : http://www.pmwiki.org/wiki/PmWiki/ReleaseNotes
If you upgrade : http://www.pmwiki.org/wiki/PmWiki/Upgrades
On 2015-11-16 20:01, Paul Bloch wrote:
> I post videos on our PmWiki as simple upload links:
> "[[Attach:Video.mp4]]". This has worked fine until Safari 9.0.1,
> which doesn’t play them. They still play in Google Chrome and Firefox.
> To troubleshoot, I updated to the latest PmWiki software and used the
> PmWiki Site Analyzer to check Cookbook and configuration and disabled
> all my Safari extensions. Safari still won’t play the videos. What I
> discovered is that the video _does_ play if I move it out of PmWiki
> and just link to it directly.
>
> You can try this yourself in my WikiSandbox:
> <https://ix.cs.uoregon.edu/~paul/wackie/index.php?n=Main.WikiSandbox>.
>
> Here is the wiki markup of those two links. The file pointed to in the
> second line is a symlink to the file in my "uploads" directory; it is
> the same file.
>
> *[[Attach:Concession_LAN_800k-h.mp4]] (works with Chrome46.0.2490.86,
> Firefox42, Safari5.1.10)
> *[[https://ix.cs.uoregon.edu/~paul/Concession_LAN_800k-h.mp4]](works
> with Chrome46.0.2490.86, Firefox42, Safari5.1.10, Safari9.0.1)
>
> What is PmWiki doing that keeps this from playing in Safari 9.0.1?
>
> Paul E. Bloch, Systems Admin
> Computer & Information Science
> University of Oregon
More information about the pmwiki-users
mailing list