Community Support Forums — WordPress® ( Users Helping Users ) — 2011-07-25T15:13:54-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=2682 2011-07-25T15:13:54-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2682&p=29064#p29064 <![CDATA[Re: Protecting and playing flv files]]> Statistics: Posted by cdils — July 25th, 2011, 3:13 pm


]]>
2011-03-16T08:52:59-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2682&p=7904#p7904 <![CDATA[Re: Protecting and playing flv files]]> Statistics: Posted by billatts — March 16th, 2011, 8:52 am


]]>
2011-03-15T22:32:24-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2682&p=7894#p7894 <![CDATA[Re: Protecting and playing flv files]]> Statistics: Posted by Cristián Lávaque — March 15th, 2011, 10:32 pm


]]>
2011-03-15T20:09:30-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2682&p=7889#p7889 <![CDATA[Re: Protecting and playing flv files]]> S2member 3.5.2

Statistics: Posted by billatts — March 15th, 2011, 8:09 pm


]]>
2011-03-15T16:38:45-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2682&p=7883#p7883 <![CDATA[Re: Protecting and playing flv files]]>
billatts wrote:
1) that code does not resolve the problem. Still can't find the file on the MAC. Still works fine on the PC.

Thanks for reporting back.
Just to confirm, you're using s2Member v3.5.4?
Or what version? And what version of WordPress too?

Statistics: Posted by Jason Caldwell — March 15th, 2011, 4:38 pm


]]>
2011-03-15T16:34:34-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2682&p=7882#p7882 <![CDATA[Re: Protecting and playing flv files]]> Statistics: Posted by billatts — March 15th, 2011, 4:34 pm


]]>
2011-03-15T16:16:07-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2682&p=7879#p7879 <![CDATA[Re: Protecting and playing flv files]]>
2) Yes, signed in as member (admin actually)

Statistics: Posted by billatts — March 15th, 2011, 4:16 pm


]]>
2011-03-15T15:06:07-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2682&p=7875#p7875 <![CDATA[Re: Protecting and playing flv files]]> While I'm investigating this. Here are some things to go over in your configuration.

1. Are "Inline" files enabled for the FLV extension?
If not, you can pass it in explicitly using this parameter: &s2member_file_inline=yes
Code:
http://www.stockoptionsprofits.com/?s2member_file_download=courses/Trade1.flv&s2member_file_inline=yes

s2Member Documentation wrote:
There are two ways to serve files. Inline, or as an Attachment. By default, s2Member will serve all of your protected files, as downloadable attachments. Meaning, visitors will be given a file download prompt. Otherwise known as Content-Disposition: attachment. In some cases though, you may wish to serve files inline. For example, PDF files and images should usually be served inline. When you serve a file inline, it is displayed in your browser immediately, rather than your browser prompting you to download the file as an attachment.

Using the field in s2Member -> Download Options -> Inline Extensions, you can list all of the extensions that you want s2Member to serve inline ( ex: htm,html,pdf,jpg,jpeg,jpe,gif,png,mp3,mp4,flv ). Please understand, some files just cannot be displayed inline. For instance, there is no way to display an exe file inline. So only specify extensions that can, and should be displayed inline by a web browser. Alternatively, if you would rather handle this on a case-by-case basis, you can simply add the following to the end of your download links: &s2member_file_inline=yes.


2. When testing on your MAC, are you logged in with an adequate Membership Level?

Statistics: Posted by Jason Caldwell — March 15th, 2011, 3:06 pm


]]>
2011-03-15T14:23:28-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2682&p=7867#p7867 <![CDATA[Re: Protecting and playing flv files]]> Yes, thank you. Currently investigating.

Statistics: Posted by Jason Caldwell — March 15th, 2011, 2:23 pm


]]>
2011-03-15T13:35:48-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2682&p=7863#p7863 <![CDATA[Re: Protecting and playing flv files]]>
[EZWebPlayerLite VIDEOURL="http://www.stockoptionsprofits.com/?s2member_file_download=courses/Trade1.flv" THUMBNAILURL="http://stockoptionsprofits.com/wp-content/uploads/2011/02/vid_player_v2.jpg" SKINURL="NavyBlue.xml" PLAYARROW="TRUE" WIDTH="500" HEIGHT="397" /]

In the thread below, you indicated that the technique of using "download" was for download not playback. You then indicated that such a capabilty (playing protected flv files) was supported.
viewtopic.php?f=4&t=14&p=29&hilit=flv+player#p29

The code I have above works for all browsers using a PC, and fails for all browsers on the MAC. This is true regardless of which "player plugin" I use. I would not find any video which described how you support videos and keeping the files in the protected "s2member-files" area. I understand that I can protect the pages and use files outside of the "s2member-files" protected area (this will work on both PC and MAC - any browser), but the question is how do I protect the flv files and play them using s2member.

Hope that helps.

Statistics: Posted by billatts — March 15th, 2011, 1:35 pm


]]>
2011-03-14T23:07:45-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2682&p=7832#p7832 <![CDATA[Re: Protecting and playing flv files]]> Thanks for reporting your experience with s2Member.

This sounds it could be related to the way in which your video player is receiving the URL. Perhaps you need to urlencode() the full location of the FLV file. This way it is passed in to your video player without causing problems. This tool might come in handy: http://meyerweb.com/eric/tools/dencoder/

Reference articles:
http://www.w3schools.com/tags/ref_urlencode.asp
http://en.wikipedia.org/wiki/Percent-encoding ( aka: Percent Encoding )
http://www.php.net/manual/en/function.urlencode.php

If you continue to have trouble, please post a code sample for us. Show us how your video player is embedded, and how you're specifying the full location to your protected FLV file.

Statistics: Posted by Jason Caldwell — March 14th, 2011, 11:07 pm


]]>
2011-03-13T15:29:58-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2682&p=7764#p7764 <![CDATA[Protecting and playing flv files]]>
I use an flv player (the situation described occurred with multiple players EXWeb Player Lite and Hana flv player). In the place where the player wants the url I placed the "?s2member-downloads=" and then the folder in s2member-files. This worked (I know it was intended as a download only) on my IE 7. However, when someone on a Mac tried to see the video it failed. In doing some de-bugging, it appears that the special s2member code causes the Mac to say it can't find the file.

So how can I show the videos on the web page and still have it securced by s2member.

Thanks

Statistics: Posted by billatts — March 13th, 2011, 3:29 pm


]]>