PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

JW Player failing to access secure files

s2Member Plugin. A Membership plugin for WordPress®.

JW Player failing to access secure files

Postby sandrad » January 23rd, 2012, 7:54 am

I want to play videos in the s2member-files directory using JW Player (the plugin for wordpress) but I have not been successful in doing so. I have read and performed suggestions from post:
viewtopic.php?f=4&t=2937 but still "no joy". Can someone help? Here is what I have done thus far:

1. Installed and activated JW Player for wordpress.

2 Viewed the desired video using JW Player with the video in an unprotected directory. Works goods.

3. Copied the video to the "wp-content/plugins/s2member-files" directory.

4. Modified JW Player html as: [jwplayer config="my_player" file="http://www.newbornposing.net/?s2member_file_download=StandingPoseVideo.mp4"] but this fails.
I get the following error in the player: Video not found or access denied:
"http://www.newbornposing.net/?s2member_file_downloads=StandingPoseVideo.mp4"

5. Modified JW Player html as: [jwplayer config="my_player" file=[s2File download="StandingPoseVideo.mp4" /] ] but it fails too. I get the following error: Video not found or access denied:
"http://www.newbornposing.net/?s2member_file_downloads=/StandingPoseVideo.mp4"

6. I've also used suggestions in the advance download settings that ignores download restrictions via a download key. Still no success.

7. I've added Flashvar's type=video and inline=yes.

8. I've also changed the download options levels to infinite downloads...still no joy.

Am I fighting a permissions issue? Does anybody have additional suggestions?
User avatar
sandrad
Registered User
Registered User
 
Posts: 15
Joined: December 30, 2011

Re: JW Player failing to access secure files

Postby Cristián Lávaque » January 26th, 2012, 1:34 am

The question mark in the URL may be causing trouble in your jwplayer shortcode. I suggest that you try a URL without it. Check the documentation here: WP Admin -> s2Member -> Downloads Options -> Advanced Mod-Rewrite Linkage.

I hope that helps. :)
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: JW Player failing to access secure files

Postby sandrad » January 27th, 2012, 1:20 pm

It didn't. This is what I changed it to:

<script type="text/javascript" src="/jwplayer/jwplayer.js"></script>

<div id="container">Loading the player ...</div>

<script type="text/javascript"> jwplayer("container").setup({ flashplayer: "/jwplayer/player.swf", file: "/wp-content/plugins/s2member-files/s2member-file-inline/StandingPoseVideo.mp4", height: 270, width: 480 }); </script>

It now says "this video could not be loaded, either because the server or network failed or because the format is not supported. Now what should I try?
User avatar
sandrad
Registered User
Registered User
 
Posts: 15
Joined: December 30, 2011


Return to s2Member Plugin

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest

cron