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
]]>