Community Support Forums — WordPress® ( Users Helping Users ) — 2011-04-03T12:30:11-05:00 http://www.primothemes.com/forums/feed.php?f=36&t=2941 2011-04-03T12:30:11-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2941&p=8953#p8953 <![CDATA[Re: Video + File Download Restriction]]> Yes, this should work; we've run several tests on this.

1. FlowPlayer works fine, nothing special required. [ FlowPlayer ]

2. JW Player. Since the URL to your video is not in a standardized format with s2Member protection applied, JW Player requires an additional parameter: type=video ( and don't forget to urlencode )
Code:
<embed
  flashvars="type=video&file=<?php echo urlencode("http://www.example.com/?s2member_file_download=video.mp4&s2member_file_inline=yes"); ?>"
  allowfullscreen="true"
  allowscripaccess="always"
  src="player.swf"
  width="480"
  height="270"
/>

I should also mention. In all cases, videos/mp3s being played through FlowPlayer/JW Player/etc, should always be served "Inline". So you can just go by the example, and make sure you always pass in: s2member_file_download=your-video.mp4&s2member_file_inline=yes.

Statistics: Posted by Jason Caldwell — April 3rd, 2011, 12:30 pm


]]>
2011-04-03T01:41:31-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2941&p=8952#p8952 <![CDATA[Re: Video + File Download Restriction]]> Statistics: Posted by rainleader — April 3rd, 2011, 1:41 am


]]>
2011-04-03T00:00:31-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2941&p=8951#p8951 <![CDATA[Re: Video + File Download Restriction]]> Statistics: Posted by Cristián Lávaque — April 3rd, 2011, 12:00 am


]]>
2011-04-02T23:40:34-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2941&p=8950#p8950 <![CDATA[Video + File Download Restriction]]> Statistics: Posted by rainleader — April 2nd, 2011, 11:40 pm


]]>