Statistics: Posted by Jason Caldwell — February 6th, 2012, 2:46 pm
Statistics: Posted by weseoin — January 31st, 2012, 10:24 am
Statistics: Posted by weseoin — January 25th, 2012, 1:04 am
Statistics: Posted by Jason Caldwell — January 24th, 2012, 1:07 pm
Statistics: Posted by weseoin — January 20th, 2012, 11:59 pm
Statistics: Posted by Jason Caldwell — January 20th, 2012, 1:38 pm
Statistics: Posted by weseoin — January 19th, 2012, 11:54 pm
Statistics: Posted by Jason Caldwell — January 19th, 2012, 2:02 pm
Statistics: Posted by Jason Caldwell — January 19th, 2012, 1:58 pm
<?php
$config = "{'clip':{'url':'http://example.com/?s2member_file_download=video.mp4&s2member_file_inline=yes','autoPlay':false,'scaling':'orig'}}";
?>
<embed src="flowplayer.swf" flashvars="config=<?php echo rawurlencode($config); ?>" width="100%" height="400" allowfullscreen="true" type="application/x-shockwave-flash" />
<?php
$config = "{'clip':{'url':'http://example.com/wp-content/plugins/s2member-files/s2member-file-inline/video.mp4','autoPlay':false,'scaling':'orig'}}";
?>
<embed src="flowplayer.swf" flashvars="config=<?php echo rawurlencode($config); ?>" width="100%" height="400" allowfullscreen="true" type="application/x-shockwave-flash" />
Statistics: Posted by Jason Caldwell — January 19th, 2012, 1:56 pm
Statistics: Posted by weseoin — January 19th, 2012, 5:49 am
<?php
$config = "{'clip':{'url':'http://example.com/?s2member_file_download=video.mp4&s2member_file_inline=yes','autoPlay':false,'scaling':'orig'}}";
?>
<embed src="flowplayer.swf" flashvars="config=<?php echo rawurlencode($config); ?>" width="100%" height="400" allowfullscreen="true" type="application/x-shockwave-flash" />
Jason Caldwell wrote:
Investigation completed.
GZIP compression MUST be disabled during s2Member's attempt to deliver a file via PHP. This is because files that s2Member delivers via PHP, are already compressed. Thus, re-compressing files delivered by a script will corrupt them in your browser. Some media playback devices will choke on this as well.
..
..
..
..
Long story shorter here...
If you're running s2Member with mod_deflate for Apache (common on many hosts), including BlueHost... you'll want to add this section to the top of your WordPress .htaccess file, so that your installation of Apache will know when it should NOT use GZIP compression.
This has been added to your site. Please let us know if you have any further trouble.
- Code:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{THE_REQUEST} (?:(?:^|\?|&)s2member_file_download\=.+|(?:^|/)s2member-files/.+)
RewriteRule ^(.*)$ - [E=no-gzip]
</IfModule>
Statistics: Posted by weseoin — January 19th, 2012, 3:31 am
Statistics: Posted by ollywedgwood — January 8th, 2012, 9:03 am
Statistics: Posted by xigaogen — January 3rd, 2012, 6:52 am
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{THE_REQUEST} (?:(?:^|\?|&)s2member_file_download\=.+|(?:^|/)s2member-files/.+)
RewriteRule ^(.*)$ - [E=no-gzip]
</IfModule>
Statistics: Posted by Jason Caldwell — January 3rd, 2012, 3:44 am
Statistics: Posted by Jason Caldwell — January 2nd, 2012, 10:58 pm
Statistics: Posted by xigaogen — December 31st, 2011, 11:34 am
<?php
add_filter("ws_plugin__s2member_chunk_file_downloads", "__return_false");
?>
Statistics: Posted by Jason Caldwell — December 31st, 2011, 8:23 am
Statistics: Posted by xigaogen — December 31st, 2011, 5:05 am
Statistics: Posted by Jason Caldwell — December 30th, 2011, 3:28 pm