|Posted: Friday Jun 1st, 2012 at 11:10 am #15171|
I seem to be having an issue serving protected mp3 files because s2Member is setting the response header “Accept-Ranges” to “none”. Is there a way to either remove that header or even better, change it to “bytes” instead of “none”?
This is an issue because I am using jplayer to play mp3 files on my site and “seek” functionality does not work when the files are located in an s2Member-protected directory. It works fine when the files are served through my own php file which specifically sets the Accept-Ranges header to “bytes”, and it works fine when the files are accessed directly through an unprotected directory.
I tried disabling chunked and flushed file delivery via s2-hacks.php but it didn’t make a difference.
- s2Member® Products