WP 3.6 Audio Player, multisite, Accept-Ranges: bytes
-
We have been trying to get the new WordPress 3.6 audio player working with one of our fall semester courses that heavily features audio. The problem we are experiencing manifests in Safari and mobile Safari, and it only occurs on subsites of a multisite subdirectory environment.
The audio player cannot get the length of the movie clip, so it does not allow scrubbing the audio or jumping to different locations in the audio. On iOS, the end duration displays as NaN:NaN.
Everything works perfectly on main site, the one at blogs.princeton.edu. However, on subsites of the multisite environment, the audio only works properly if I supply the original URL (no .htaccess rewrites).
Here is my test page:
https://blogs.princeton.edu/wdstest/2013/08/14/audio-test/
All of the working audio clips return the response header Accept-Ranges: bytes
The non-working clips do not return this response header.The first source URL for the audio is the problem one on the production server:
https://blogs.princeton.edu/colonialsounds/files/2013/08/01.mp3The second source URL works fine, and is the same file on the same server, but it does not use WordPress’s htaccess rewrite rules:
https://blogs.princeton.edu/wp-content/blogs.dir/164/files/2013/08/01.mp3The third source URL also works, and is the same file, but it is on the main site.
https://blogs.princeton.edu/wp-content/uploads/2013/09/01.mp3Does anyone have experience with this and might be able to help us? Is this a bug for all multisite environments in WordPress 3.6?
Thanks,
Michael
- The topic ‘WP 3.6 Audio Player, multisite, Accept-Ranges: bytes’ is closed to new replies.