Home › Forums › Community Forum › File Download Restrictions with subfolders?
Tagged: jw player, Protected video
This topic contains 10 replies, has 3 voices. Last updated by Peggy Duncan 4 years, 8 months ago.
Topic Author | Topic |
---|---|
Posted: Tuesday Apr 10th, 2012 at 12:46 pm #10474 | |
|
|
Hi, I am using JW player to play video located on my server. 1. Can I create a subfolder for my videos inside the File Download Restrictions folder? This would read: 2. Thanks for taking the time to reply |
List Of Topic Replies
Author | Replies |
---|---|
Author | Replies |
Posted: Wednesday Apr 11th, 2012 at 10:45 am #10555 | |
|
|
I’ll follow this support ticket for this same issue. |
|
Posted: Wednesday Apr 11th, 2012 at 10:57 am #10556 | |
|
|
1. Yes you can create subfolders. 2. I don’t know if this will work, because it depends on whether jwplayer will parse shortcode, unless you are creating your file access string using the php method. usually to access a file in the secured folder you would do something like this:
So, since you are using the shortcode method, the way it should work is something like this:
The php version is a little more work if jwplayer doesn’t parse shortcodes. Without knowing much about jwplayer, that should be how to play files that are in the protected folder. I’m not sure about the user’s ability to move through the file though. Hope that helps. Dave |
|
Posted: Monday Apr 16th, 2012 at 6:27 pm #10943 | |
|
|
Dave, It looks like JW Player does NOT like S2Member shortcode since what JW Player use is not a true shorcode but rather a filter (according to their forum). When I use wordpress library with a long URL it works fine. I tried S2Member long URL WITHOUT success. Each time I get the error message: I think something is missing, could it be the download key ??? Also in S2Member backend I read something pertaining to installing “PHP Execution” Do I need to do that? Thanks again for taking to time to assist me. |
|
Posted: Monday Apr 16th, 2012 at 8:57 pm #10955 | |
|
|
I’m using s2 Member, and I use subfolders because I like to keep everything organized. For the video: For the static image representing my video: Michelle said “Also in S2Member backend I read something pertaining to installing “PHP Execution” Do I need to do that?” |
|
Posted: Tuesday Apr 17th, 2012 at 12:59 pm #11016 | |
|
|
Peggy, Thank you for your feedback. Are you using short code or long codes? Thanks |
|
Posted: Tuesday Apr 17th, 2012 at 1:20 pm #11020 | |
|
|
Peggy, One more question. Thanks |
|
Posted: Tuesday Apr 17th, 2012 at 2:21 pm #11026 | |
|
|
Hi Michelle, I’m not using the JW Player plugin. I’m using long code. Still can’t believe I figured all this out because I’m not a coder. The experts on this site are great. This code is for a playlist. I have several videos that make up the tutorial. They all line up below the main video. The user clicks the one they want to move to the main window. I stream from Amazon s3 so that’s what the rtmp info is for. You would replace myamazon.cloudfront with your info. I’m not using the HTML5 fallback. My videos will only play using Flash (for more security because I have a membership Website). On the video folders: The first few videos are not saved in a subfolder so you’ll notice a different path. Saving inside a subfolder works just fine. ‘file’: ‘wlw-1-configure.mp4’, (no subfolder) Hope this helps. Sorry, Videos will not show on iPad or iPhone |
|
Posted: Tuesday Apr 17th, 2012 at 2:24 pm #11027 | |
|
|
Michelle, Don’t know why, but my beginning and ending code wouldn’t reproduce in the post. |
|
Posted: Tuesday Apr 17th, 2012 at 5:07 pm #11036 | |
|
|
Peggy, Thanks for your assistance. I ended up in another direction. 1. S2Members users should aware that the JW Player WordPress plug-in is NOT compatible with S2Member. 2. Code Sample provided with S2Member under Download Option > JW Player® & RTMP Protocol Examples > JW Player® ( MP4 file, via Rewrite URLs. Amazon® S3/CloudFront NOT required ) is NOT compatible with version JW Player 5.9 3. Here is how I made it work. 3.1 Download the current version of JW Player from their site http://www.longtailvideo.com/players
3.9 Just correct the width, height, image and file. Note I am using a sub-directory named “video” download=”video/…” if you use another sub-directory name replace it there. If you do not use any sub-directory simply delete video/ |
|
Posted: Tuesday Apr 17th, 2012 at 5:39 pm #11044 | |
|
|
Michelle, I JUST set all this up last week and didn’t have any issues with s2member working with the JW Player…I guess it was because I created the code from scratch and didn’t use any from s2member. Glad everything worked out for you. |
This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.